Before applying any REST API changes, ensure the project compiles. If compilation fails, stop immediately. After applying improvements, run full verification.
MANDATORY: Run
./mvnw compile
or
mvn compile
before applying any change
SAFETY: If compilation fails, stop immediately
VERIFY: Run
./mvnw clean verify
or
mvn clean verify
after applying improvements
BEFORE APPLYING: Read the reference for detailed rules and good/bad patterns