Description
When using JavaJaxRS to generate API with an endpoint consuming a form to upload a file, the plugin translate file param data type in Attachment (org.apache.cxf.jaxrs.ext.multipart.Attachment) which is a CXF class. If we use another JaxRS implementation the compilation of generated API failed. The choice should be depends on JAX-RS implementation
Swagger-codegen version
2.2.1
Swagger declaration file content or url
https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/JavaJaxRS/spec/formParams.mustache
Command line used for generation
Steps to reproduce
Related issues
Suggest a Fix
:(. My question is : Is it possible to detect Jax-rs implementation, choose it and generation a dynamic datatype ?