A codemod tool that automates the addition of JAX-RS input validation in Java applications.
Codemods that help enforce using JAX-RS input validation
This tool is designed for developers working with JAX-RS who need to ensure that their API inputs are validated correctly. By automating the addition of validation annotations, it helps maintain code quality and security in RESTful services.
Ensure you have the correct version of JDK and Semgrep installed for compatibility.
Install JDK 17 for building this project.
Install Semgrep CLI using pip: pip install semgrep
Set up PYTHONPATH if necessary for tests.
./gradlew check
Runs tests to ensure the project is functioning correctly.
./gradlew distZip
Builds the project and creates a distribution package.
app/bin/app --dry-run /my-project
Runs the codemod without making actual changes to the code.
app/bin/app /my-project
Applies the codemod and makes actual changes to the code.