Skip to content

Commit

Permalink
refactor(openapi): update swagger-ui version to v5 for OpenAPI v3.1 s…
Browse files Browse the repository at this point in the history
…upport (#2343)
  • Loading branch information
byyuurin committed Apr 8, 2024
1 parent c5d550a commit 9e2cd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/routes/swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { eventHandler } from "h3";
// Served as /_nitro/swagger
export default eventHandler((event) => {
const title = "Nitro Swagger UI";
const CDN_BASE = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@^4";
const CDN_BASE = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@^5";
return /* html */ `<!doctype html>
<html lang="en">
<head>
Expand Down

0 comments on commit 9e2cd8a

Please sign in to comment.