File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 2
2
< html >
3
3
< head >
4
4
< title > Swagger UI</ title >
5
- < link rel ="stylesheet " type ="text/css " href ="swagger-ui.css " > <!-- Update the path to where your Swagger UI CSS file is located -->
5
+ < link rel ="stylesheet " type ="text/css " href ="swagger-ui.css " >
6
6
</ head >
7
7
8
8
< body >
9
9
< div id ="swagger-ui "> </ div >
10
10
11
- < script src ="swagger-ui-bundle.js "> </ script > <!-- Update the path to where your Swagger UI JS bundle file is located -->
12
- < script src ="swagger-ui-standalone-preset.js "> </ script > <!-- Update the path if you're using the standalone preset -->
11
+ < script src ="swagger-ui-bundle.js "> </ script >
12
+ < script src ="swagger-ui-standalone-preset.js "> </ script >
13
13
< script >
14
14
window . onload = function ( ) {
15
- // Begin Swagger UI call region
16
15
const ui = SwaggerUIBundle ( {
17
- url : "/http-api/swagger.json" , // Update with the path to your OpenAPI spec
16
+ url : "/http-api/swagger.json" ,
18
17
dom_id : '#swagger-ui' ,
19
18
deepLinking : true ,
20
19
presets : [
26
25
] ,
27
26
layout : "StandaloneLayout"
28
27
} )
29
- // End Swagger UI call region
30
28
31
29
window . ui = ui
32
30
}
You can’t perform that action at this time.
0 commit comments