31 lines
859 B
Django/Jinja
31 lines
859 B
Django/Jinja
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link type="text/css" rel="stylesheet" href="{{ static_url }}/swagger-ui.css">
|
|
<link rel="shortcut icon" href="{{ static_url }}/fastapi.png">
|
|
<title>GLaDOS TSS Documentation</title>
|
|
</head>
|
|
<body>
|
|
<div id="swagger-ui">
|
|
</div>
|
|
<script src="{{ static_url }}/swagger-ui-bundle.js"></script>
|
|
<!-- `SwaggerUIBundle` is now available on the page -->
|
|
<script>
|
|
const ui = SwaggerUIBundle({
|
|
url: '{{ openapi_url }}',
|
|
"dom_id": "#swagger-ui",
|
|
"layout": "BaseLayout",
|
|
"deepLinking": true,
|
|
"showExtensions": true,
|
|
"showCommonExtensions": true,
|
|
oauth2RedirectUrl: window.location.origin + '/docs/oauth2-redirect',
|
|
presets: [
|
|
SwaggerUIBundle.presets.apis,
|
|
SwaggerUIBundle.SwaggerUIStandalonePreset
|
|
],
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|