mirror of
https://github.com/go-gitea/gitea
synced 2024-12-24 03:35:55 +01:00
docs: swagger show models by default (#14880)
This commit is contained in:
parent
40aca73347
commit
5eafd117a6
@ -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…
Reference in New Issue
Block a user