Hello. Currently java:S107 rule (Methods should not have too many parameters) enforces methods to have a given number of parameters, unless annotated with Spring’s @RequestMapping or related annotations like @GetRequest.
I think that the same exceptions should be applied to JAX-RS annotated method, like @GET, @POST, etc.
Hello @Lorthirk,
I just stumble into this old topic, and noticed that we created a ticket in between (SONARJAVA-3470) targeting exactly what you are suggesting. It should be tackled very soon.