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

syntaxHighlight: false not working on request body #6594

Open
SledgeHammer01 opened this issue Nov 8, 2020 · 1 comment
Open

syntaxHighlight: false not working on request body #6594

SledgeHammer01 opened this issue Nov 8, 2020 · 1 comment

Comments

@SledgeHammer01
Copy link

springdoc-openapi-ui 1.4.8
swagger-ui v3.34.0

After setting syntaxHighlight: false, the REQUEST body on POSTs continues to have syntax highlighting. RESPONSE body is working as expected and syntax highlighting is indeed disabled.

@hkosova
Copy link
Contributor

hkosova commented May 20, 2021

@SledgeHammer01 can you check the latest version of Swagger UI - 3.49.0? It includes a fix related to syntax highlighting.

I don't see the issue in the latest Petstore demo: https://petstore.swagger.io/?syntaxHighlight=false#/pet/addPet

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

No branches or pull requests

2 participants