Skip to content

Commit

Permalink
chore: use jsdelivr for swagger css/js (#3197)
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Nov 22, 2024
1 parent bb4b7ee commit 9436cd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/openapi/openapi.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/swagger-ui-dist@4.18.1/swagger-ui.css"
href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.18.2/swagger-ui.min.css"
/>
<link
rel="icon"
type="image/png"
href="https://unpkg.com/swagger-ui-dist@4.18.1/favicon-16x16.png"
href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.18.2/favicon-16x16.png"
/>
</head>
<body>
<div id="swagger-ui"></div>

<script src="https://unpkg.com/swagger-ui-dist@4.18.1/swagger-ui-bundle.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.18.2/swagger-ui-bundle.min.js"></script>
<script>
window.onload = function() {
window.ui = SwaggerUIBundle({
Expand Down

0 comments on commit 9436cd7

Please sign in to comment.