1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-23 14:31:03 +00:00

Publish API documentation

This commit is contained in:
github-actions 2022-01-17 08:35:03 +00:00
parent c554861070
commit 1df854609f
2 changed files with 8 additions and 8 deletions

View File

@ -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",
"deepLinking": true,
"showExtensions": true,
"showCommonExtensions": true,
oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect',
presets: [ 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