Updated apidoc viewer settings

This commit is contained in:
Nicolai Ort 2021-02-02 14:31:26 +01:00
parent 6435c8a88e
commit 4d45e0f80d
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
</head> </head>
<body> <body>
<rapi-doc <rapi-doc
spec-url="/api/docs/openapi.json" spec-url="/docs/openapi.json"
> </rapi-doc> > </rapi-doc>
</body> </body>
</html> </html>

View File

@ -12,7 +12,7 @@
</style> </style>
</head> </head>
<body> <body>
<redoc spec-url='/api/docs/openapi.json'></redoc> <redoc spec-url='/docs/openapi.json'></redoc>
<script src="./redoc.standalone.js"> </script> <script src="./redoc.standalone.js"> </script>
</body> </body>
</html> </html>

View File

@ -37,7 +37,7 @@
window.onload = function() { window.onload = function() {
// Begin Swagger UI call region // Begin Swagger UI call region
const ui = SwaggerUIBundle({ const ui = SwaggerUIBundle({
url: "/api/docs/openapi.json", url: "/docs/openapi.json",
dom_id: '#swagger-ui', dom_id: '#swagger-ui',
deepLinking: true, deepLinking: true,
presets: [ presets: [