Enabling jsonEditor does not change POST body editor
See original GitHub issueUsing Swagger UI v3.13.6 and v3.0.19, setting the jsonEditor parameter to true does not seem to enable any sort of graphical JSON editor as the documentation describes. I have tried with my local copy of Swagger UI with a Swagger 2.0 spec and the live demo on http://petstore.swagger.io/ using Chrome 66 on Windows 10.
In my local UI, I added jsonEditor: true to the SwaggerUIBundle constructor in the index.html file. I verified through the Chrome debugger that the changes were properly picked up, so I don’t believe this is a caching issue.
In the live demo and my local UI, I tried adding a ?jsonEditor=true query string, which likewise had no resulting change to the Swagger UI. I would expect the editor to no longer have the large JSON string text field and instead have a more user-friendly HTML form.
Is this feature currently broken on the v3 Swagger UI? If it is working for others, how do I properly enable it using the dist from the swagger-ui repo? I can modify the index.html or provide a query string; I don’t really care which so long as I can get this working. Our API is large and some POSTs are rather complex, so the better editor would be of massive benefit to us.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)

Top Related StackOverflow Question
Thanks for the response! I love the project and look forward to the updated website whenever it’s ready.
Closing in favor of #2771.