Having JXI_UNDEFINED_PARAMETER_SOURCE_IN_ENDPOINT using @MultiPartFormParam from Atlassian

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

Using the * Version 7.9.2 (build 30863)

  • what are you trying to achieve

Since the update of SonarQube we are receiving this analysis where our Rest API consumes a “multipart form data” and now we are having the following “Correctness error”:

*JAX-RS Method defines a parameter that has no @Param or @Context annotation, or @Consumes method annotation

  • what have you tried so far to achieve this

Is MultiPartFormParam not a part of @*Param? How can we avoid this correctness and still use the MultiPartFormParam?

Thank you in advance!