Specifying Encoding For Form Data Parameters
Hello, My question is specific to jaxrs2 integration and could be summarised as the following: "What does the path look like to fleshing out jaxrs2 integration such that it can be used to generate all aspects of the OpenAPI 3.0 specification, esp. with regards to its priority relative to other aspects of the Swagger Core project?" The rest is a specific example of functionality missing in jaxrs2 integration, including my initial efforts to implement that functionality in the swagger-jaxrs2 module. I've come to understand that swagger-jaxrs2 can handle turning method parameters annotated FormParam into the appropriate request body in the resulting specification. My problem comes from not being able to specify the encoding on the parameters as this document indicates in the "Form Data" section. The Swagger UI project compounds this problem by not using the correct default serialisation for form parameter arrays ("correct" according to the same document linked above). I implemented a proof of concept pull request for a way to specify request body encoding in these circumstances by specifying the encoding on the RequestBody annotation on the method. From my exploration it seemed that allowing this type of customisation via a Parameter annotation on each parameter would have increased the complexity greatly unless the code for processing parameters annotated with FormParam itself was more largely re-examined. If there is some way to do this already then some guidance towards that solution (and the documentation for it) would be greatly appreciated.Solved