1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00
gns3-server/docs/index.html

31 lines
942 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
2024-08-11 17:36:40 +00:00
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css">
<link rel="shortcut icon" href="https://fastapi.tiangolo.com/img/favicon.png">
2020-11-02 02:56:34 +00:00
<title>GNS3 controller API - Swagger UI</title>
</head>
<body>
2020-11-02 02:56:34 +00:00
<div id="swagger-ui">
</div>
2024-08-11 17:36:40 +00:00
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js"></script>
2020-11-02 02:56:34 +00:00
<!-- `SwaggerUIBundle` is now available on the page -->
<script>
const ui = SwaggerUIBundle({
url: 'openapi.json',
2022-01-17 08:35:03 +00:00
"dom_id": "#swagger-ui",
"layout": "BaseLayout",
"deepLinking": true,
"showExtensions": true,
"showCommonExtensions": true,
oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect',
presets: [
2020-11-02 02:56:34 +00:00
SwaggerUIBundle.presets.apis,
SwaggerUIBundle.SwaggerUIStandalonePreset
],
})
</script>
</body>
</html>