Moved swaggerdocs to /api/v1/swagger

This commit is contained in:
kolaente 2018-09-17 18:38:15 +02:00
parent 1d62b09792
commit 96cafe0ad9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 6 additions and 6 deletions

View File

@ -5,9 +5,9 @@
<meta charset="UTF-8">
<title>Swagger UI</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/swagger/swagger-ui.css" >
<link rel="icon" type="image/png" href="/swagger/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/swagger/favicon-16x16.png" sizes="16x16" />
<link rel="stylesheet" type="text/css" href="/api/v1/swagger/swagger-ui.css" >
<link rel="icon" type="image/png" href="/api/v1/swagger/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/api/v1/swagger/favicon-16x16.png" sizes="16x16" />
<style>
html
{
@ -34,14 +34,14 @@
<body>
<div id="swagger-ui"></div>
<script src="/swagger/swagger-ui-bundle.js"> </script>
<script src="/swagger/swagger-ui-standalone-preset.js"> </script>
<script src="/api/v1/swagger/swagger-ui-bundle.js"> </script>
<script src="/api/v1/swagger/swagger-ui-standalone-preset.js"> </script>
<script>
window.onload = function() {
// Build a system
const ui = SwaggerUIBundle({
url: "/swagger/swagger.v1.json",
url: "/api/v1/swagger/swagger.v1.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [