I have some issue to make it work, according to following link below, the JSON editor for the request body (disabled by default).
https://github.com/jensoleg/swagger-ui
How can I enable it?
I found the solution. Add the following into index.html in the new SwaggerUi({})
constructor:
docExpansion: "none",
sorter: "alpha",
jsonEditor: true,
defaultModelRendering: 'schema',
showRequestHeaders: true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With