Inspectopedia
 
2024.3

Mismatch in @PathVariable declarations and usages

Warning
Reliability
New
Last modified: 03 December 2024

Reports @PathVariable parameters that are declared in the method signature but are absent in the URL path or vice versa. The quick-fix adds the missing parameter.

Example:

After the quick-fix is applied the result looks like: