Skip to content

Commit 335461e

Browse files
authored
Update main.js added 5.1 and set it as primary
1 parent 04ff7c6 commit 335461e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import "./main.css";
77
SwaggerUI({
88
dom_id: "#app",
99
urls: [
10+
{ url: "/docs/5.1.json", name: "5.1" },
1011
{ url: "/docs/5.0.json", name: "5.0" },
1112
{ url: "/docs/4.4.json", name: "4.4" },
1213
{ url: "/docs/4.3.json", name: "4.3" },
@@ -15,7 +16,7 @@ SwaggerUI({
1516
{ url: "/docs/4.0.json", name: "4.0" },
1617
{ url: "/docs/3.14.json", name: "3.14" }
1718
],
18-
"urls.primaryName": "5.0",
19+
"urls.primaryName": "5.1",
1920
deepLinking: true,
2021
presets: [SwaggerUI.presets.apis, SwaggerUIStandalonePreset],
2122
plugins: [SwaggerUI.plugins.DownloadUrl].filter(

0 commit comments

Comments
 (0)