io.codemodder.codemods.verbose-request-mapping.yaml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core-codemods Show documentation
Show all versions of core-codemods Show documentation
Codemods for fixing common errors across many Java projects
rules:
- id: verbose-request-mapping
patterns:
- pattern-either:
- pattern: |
@RequestMapping(method = $REQUEST_METHOD, ...)
- pattern: |
@RequestMapping(method = $VALUE, ...)
message: Semgrep found a match.
languages: [java]
severity: WARNING