Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.11.3
-
None
-
Unknown
Description
We an openapi api with an operation that produces both application/json and application/csv. When setting clientRequestValidation=true requests with Accept=application/csv fails with status 406.
This happens because the method isValidOrAcceptedContentType in RestBindingAdvice only accepts a content type containing 'json' if parameter valid contains 'json' even if other content types are included.
Attachments
Attachments
Issue Links
- links to