Skip to content

Commit abe8dc8

Browse files
committed
Update Swagger UI version and API specification URL
1 parent e64fedb commit abe8dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/views/docs/index.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
<head>
55
<title>Docs</title>
6-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@3.17.0/swagger-ui.css">
6+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.1.1/swagger-ui.css">
77
</head>
88

99
<body>
10-
<div id="ui-wrapper-new" data-spec="<%= @swagger_json_path %>">
10+
<div id="ui-wrapper-new" data-spec="/api/web/doc.json">
1111
Loading....
1212
</div>
1313
</body>
14-
<script src="https://unpkg.com/swagger-ui-dist@3.23.1/swagger-ui-bundle.js"></script>
14+
<script src="https://unpkg.com/swagger-ui-dist@5.1.1/swagger-ui-bundle.js"></script>
1515
<script>
1616
var swaggerUIOptions = {
1717
url: '/api/web/doc.json',

0 commit comments

Comments
 (0)