Skip to content

Commit 101059f

Browse files
committed
Included API path and fixed plugins
1 parent 30b1de9 commit 101059f

24 files changed

Lines changed: 166 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,15 @@ info:
1111
url: https://choosealicense.com/licenses/mit/
1212

1313
servers:
14-
- url: api
14+
- url: http://{host}:{port}/api
1515
description: API path for riotpot
16+
variables:
17+
host:
18+
default: "localhost"
19+
port:
20+
enum:
21+
- "2022"
22+
default: "2022"
1623

1724
tags:
1825
- name: Proxies

api/swagger/favicon-16x16.png

665 Bytes
Loading

api/swagger/favicon-32x32.png

628 Bytes
Loading

api/swagger/index.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
html {
2+
box-sizing: border-box;
3+
overflow: -moz-scrollbars-vertical;
4+
overflow-y: scroll;
5+
}
6+
7+
*,
8+
*:before,
9+
*:after {
10+
box-sizing: inherit;
11+
}
12+
13+
body {
14+
margin: 0;
15+
background: #fafafa;
16+
}

api/swagger/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- HTML for static distribution bundle build -->
2+
<!DOCTYPE html>
3+
<html lang="en">
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>Swagger UI</title>
7+
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
8+
<link rel="stylesheet" type="text/css" href="index.css" />
9+
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
10+
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
11+
</head>
12+
13+
<body>
14+
<div id="swagger-ui"></div>
15+
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
16+
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
17+
<script src="./swagger-initializer.js" charset="UTF-8"> </script>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)