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

Swagger-ui response with wrong content-type? #4710

Closed
seseso opened this issue Oct 21, 2019 · 3 comments · Fixed by #4713
Closed

Swagger-ui response with wrong content-type? #4710

seseso opened this issue Oct 21, 2019 · 3 comments · Fixed by #4713
Labels
kind/bug Something isn't working
Milestone

Comments

@seseso
Copy link

seseso commented Oct 21, 2019

Describe the bug
When using swagger-ui, responses are comming with content-type
text/html;charset=windows-1252
which shows strange characters on browser.

Expected behavior
By default, I would except UTF-8 in responses

Environment (please complete the following information):

  • OS: Windows 10 Pro
  • Java version: OpenJDK 8
  • N/A
  • Quarkus version: 0.25.0

image

@seseso seseso added the kind/bug Something isn't working label Oct 21, 2019
gsmet added a commit to gsmet/quarkus that referenced this issue Oct 21, 2019
@gsmet
Copy link
Member

gsmet commented Oct 21, 2019

@seseso could you check if #4713 fixes your issue?

Just build the PR with mvn clean install -DskipTests -DskipITs then use 999-SNAPSHOT in your app.

@seseso
Copy link
Author

seseso commented Oct 21, 2019

Works like a charm!

Thanks!

gsmet added a commit that referenced this issue Oct 21, 2019
@gsmet
Copy link
Member

gsmet commented Oct 21, 2019

Thanks for checking!

@gsmet gsmet added this to the 0.26.0 milestone Oct 22, 2019
CSTDev pushed a commit to CSTDev/quarkus that referenced this issue Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants