Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 6f692ea

Browse files
Update the location of swagger-ui static files
1 parent 0e5208e commit 6f692ea

17 files changed

+7
-7
lines changed

docs/api_specifications/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<head>
55
<meta charset="UTF-8">
66
<title>Swagger UI</title>
7-
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
8-
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
9-
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
7+
<link rel="stylesheet" type="text/css" href="swagger-dist/swagger-ui.css" />
8+
<link rel="icon" type="image/png" href="swagger-dist/favicon-32x32.png" sizes="32x32" />
9+
<link rel="icon" type="image/png" href="swagger-dist/favicon-16x16.png" sizes="16x16" />
1010
<style>
1111
html
1212
{
@@ -33,13 +33,13 @@
3333
<body>
3434
<div id="swagger-ui"></div>
3535

36-
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
37-
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
36+
<script src="swagger-dist/swagger-ui-bundle.js" charset="UTF-8"> </script>
37+
<script src="swagger-dist/swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
3838
<script>
3939
window.onload = function() {
4040
// Begin Swagger UI call region
4141
const ui = SwaggerUIBundle({
42-
url: "https://petstore.swagger.io/v2/swagger.json",
42+
url: "swagger.yaml",
4343
dom_id: '#swagger-ui',
4444
deepLinking: true,
4545
presets: [

0 commit comments

Comments
 (0)