Open ghost opened 5 years ago
I can confirm this issue.
A combination of @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
on the method, and @FormParam("data")
on the parameter, does get Swagger UI to mostly generate thr right sort of thing, but if I add @Parameter
to that parameter, my description does not appear, and doesn't seem to be copied over in the way that would be expected from https://swagger.io/specification/#support-for-x-www-form-urlencoded-request-bodies
I have the same bug, @Parameter + @FormParam does not show description, provided in the @Parameter
partially addressed by #3696
Some example method:
Problem:
@Parameter
"in" does not allow arbitrary strings@FormDataParam
(not available)@Parameter(in = ParameterIn.X)
is not defined@RequestBody
(because of@POST
)How do I manage to show the
@FormParam
as formData parameter in Swagger UI? Thank you in advance.