Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charset of @Produces Annotation are ignored in Accept header #1609

Closed
carstenlaengerer opened this issue Jan 19, 2016 · 2 comments
Closed

Charset of @Produces Annotation are ignored in Accept header #1609

carstenlaengerer opened this issue Jan 19, 2016 · 2 comments
Labels
Milestone

Comments

@carstenlaengerer
Copy link

REST WS with charset in the Produce annotations result in wrong swagger.json. The charset is simple ignored.

@produces("text/plain;charset=UTF-8") results to "produces" : [ "text/plain" ] in the swagger.json.

Hence, Calling the the REST WS by swagger result in HTTP 406

@webron
Copy link
Contributor

webron commented Jan 19, 2016

Should be checked with consumes as well.

@frantuma
Copy link
Member

frantuma commented Mar 1, 2016

related to #1546, fixed when #1680 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants