We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ad5e75 commit 6b93eacCopy full SHA for 6b93eac
.github/workflows/generate-page-docs.yml
@@ -33,7 +33,7 @@ jobs:
33
sleep 1
34
done
35
curl -o docs/index.html --silent --fail http://0.0.0.0:8000/api/docs
36
- sed 's:/api/openapi.json:openapi.json:g' docs/index.html > docs/i.html
+ sed 's:/api/openapi.json:openapi.json:g' docs/index.html > docs/index.html
37
38
- uses: EndBug/add-and-commit@v9
39
with:
docs/index.html
@@ -1,31 +0,0 @@
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: '/api/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
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments