Inspectopedia 2025.3 Help

Spring MVC

API version inserter is not configured for the test  

The inspection reports apiVersion() method calls of MockMvcTester and WebTestClient when ApiVersionInserter isn't configured for a test.

Misconfigured API versioning  

Highlights endpoints' version attributes when a module has no API versioning configured.

Mismatch in @PathVariable declarations and usages  

Reports @PathVariable parameters that are declared in the method signature but are absent in the URL path or vice versa.

Non-void @InitBinder method  

Reports Spring MVC Controller methods annotated with @InitBinder that are not declared as void.

Remove redundant path variable name declaration  

Reports redundant @PathVariable name declaration when it matches a parameter name.

The version should have the SemVer format  

Reports endpoints with an empty or malformed version.

Unresolved view reference  

Reports unresolved Spring MVC View references.

Last modified: 04 March 2026