mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-23 06:20:59 +00:00
Publish API documentation
This commit is contained in:
parent
c554861070
commit
1df854609f
@ -14,16 +14,16 @@
|
|||||||
<script>
|
<script>
|
||||||
const ui = SwaggerUIBundle({
|
const ui = SwaggerUIBundle({
|
||||||
url: 'openapi.json',
|
url: 'openapi.json',
|
||||||
oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect',
|
"dom_id": "#swagger-ui",
|
||||||
dom_id: '#swagger-ui',
|
"layout": "BaseLayout",
|
||||||
presets: [
|
"deepLinking": true,
|
||||||
|
"showExtensions": true,
|
||||||
|
"showCommonExtensions": true,
|
||||||
|
oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect',
|
||||||
|
presets: [
|
||||||
SwaggerUIBundle.presets.apis,
|
SwaggerUIBundle.presets.apis,
|
||||||
SwaggerUIBundle.SwaggerUIStandalonePreset
|
SwaggerUIBundle.SwaggerUIStandalonePreset
|
||||||
],
|
],
|
||||||
layout: "BaseLayout",
|
|
||||||
deepLinking: true,
|
|
||||||
showExtensions: true,
|
|
||||||
showCommonExtensions: true
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user