Moved swaggerdocs to /api/v1/swagger
This commit is contained in:
parent
1d62b09792
commit
96cafe0ad9
1 changed files with 6 additions and 6 deletions
|
@ -5,9 +5,9 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Swagger UI</title>
|
<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 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="stylesheet" type="text/css" href="/api/v1/swagger/swagger-ui.css" >
|
||||||
<link rel="icon" type="image/png" href="/swagger/favicon-32x32.png" sizes="32x32" />
|
<link rel="icon" type="image/png" href="/api/v1/swagger/favicon-32x32.png" sizes="32x32" />
|
||||||
<link rel="icon" type="image/png" href="/swagger/favicon-16x16.png" sizes="16x16" />
|
<link rel="icon" type="image/png" href="/api/v1/swagger/favicon-16x16.png" sizes="16x16" />
|
||||||
<style>
|
<style>
|
||||||
html
|
html
|
||||||
{
|
{
|
||||||
|
@ -34,14 +34,14 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="swagger-ui"></div>
|
<div id="swagger-ui"></div>
|
||||||
|
|
||||||
<script src="/swagger/swagger-ui-bundle.js"> </script>
|
<script src="/api/v1/swagger/swagger-ui-bundle.js"> </script>
|
||||||
<script src="/swagger/swagger-ui-standalone-preset.js"> </script>
|
<script src="/api/v1/swagger/swagger-ui-standalone-preset.js"> </script>
|
||||||
<script>
|
<script>
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
|
|
||||||
// Build a system
|
// Build a system
|
||||||
const ui = SwaggerUIBundle({
|
const ui = SwaggerUIBundle({
|
||||||
url: "/swagger/swagger.v1.json",
|
url: "/api/v1/swagger/swagger.v1.json",
|
||||||
dom_id: '#swagger-ui',
|
dom_id: '#swagger-ui',
|
||||||
deepLinking: true,
|
deepLinking: true,
|
||||||
presets: [
|
presets: [
|
||||||
|
|
Loading…
Reference in a new issue