Browse Source

docs: swagger show models by default (#14880)

mj-v1.14.3
Norwin 1 year ago
committed by GitHub
parent
commit
5eafd117a6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      web_src/js/standalone/swagger.js

1
web_src/js/standalone/swagger.js

@ -19,6 +19,7 @@ window.addEventListener('load', async () => {
dom_id: '#swagger-ui',
deepLinking: true,
docExpansion: 'none',
defaultModelRendering: 'model', // don't show examples by default, because they may be incomplete
presets: [
SwaggerUI.presets.apis
],

Loading…
Cancel
Save