Open jschnasse opened 11 years ago
See also wordnik/swagger-core#308, which IMHO is the second half of the problem.
I just created pull request https://github.com/ryankennedy/swagger-jaxrs-doclet/pull/79 to address this. Almost exactly a year later.
Current master of swagger-ui supports content negotiation. Swagger-jaxrs-doclet should support this too. See: https://github.com/wordnik/swagger-core/issues/77
A common jaxrs pattern to provide content negotiation is
The expected result in swagger is:
and NOT
The former looks way cooler in the UI. You get a dropdown to choose your format from.