Skip to content

Commit 77de82e

Browse files
Commit from GitHub Actions (Generate page docs)
1 parent 3517055 commit 77de82e

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/i.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
<!DOCTYPE html>
3+
<html>
4+
<head>
5+
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui.css">
6+
<link rel="shortcut icon" href="https://fastapi.tiangolo.com/img/favicon.png">
7+
<title>FastAPI Template - Swagger UI</title>
8+
</head>
9+
<body>
10+
<div id="swagger-ui">
11+
</div>
12+
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui-bundle.js"></script>
13+
<!-- `SwaggerUIBundle` is now available on the page -->
14+
<script>
15+
const ui = SwaggerUIBundle({
16+
url: 'openapi.json',
17+
"dom_id": "#swagger-ui",
18+
"layout": "BaseLayout",
19+
"deepLinking": true,
20+
"showExtensions": true,
21+
"showCommonExtensions": true,
22+
oauth2RedirectUrl: window.location.origin + '/api/docs/oauth2-redirect',
23+
presets: [
24+
SwaggerUIBundle.presets.apis,
25+
SwaggerUIBundle.SwaggerUIStandalonePreset
26+
],
27+
})
28+
</script>
29+
</body>
30+
</html>
31+

0 commit comments

Comments
 (0)