Details
-
Bug
-
Resolution: Done
-
Major
-
1.11.5.ER4
-
-
Undefined
-
+
-
---
Description
quarkus-smallrye-openapi extension does not generate correct content type based on Spring Web annotation provided by quarkus-spring-web extension when generating OpenAPI schema.
Instead of picking up the content type specified by Spring annotation
@...Mapping(produces = <desired-content-type>)
it generates response content type application/json.
The content type of the application endpoint response itself is correct and unaffected by this bug.