Skip to content

Commit

Permalink
fix: update swagger-ui version to v5 for OpenAPI v3.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
byyuurin committed Apr 7, 2024
1 parent c5d550a commit fa8f389
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 fa8f389

Please sign in to comment.