File tree Expand file tree Collapse file tree 2 files changed +34
-34
lines changed Expand file tree Collapse file tree 2 files changed +34
-34
lines changed Original file line number Diff line number Diff line change
1
+ <!-- HTML for static distribution bundle build -->
2
+ <!DOCTYPE html>
3
+ < html lang ="en ">
4
+
5
+ < head >
6
+ < meta charset ="UTF-8 ">
7
+ < title > Swagger UI</ title >
8
+ < link rel ="stylesheet " type ="text/css " href ="./swagger/swagger-ui.css " />
9
+ < link rel ="stylesheet " type ="text/css " href ="./swaggerindex.css " />
10
+ < link rel ="icon " type ="image/png " href ="./swagger/favicon-32x32.png " sizes ="32x32 " />
11
+ < link rel ="icon " type ="image/png " href ="./swagger/favicon-16x16.png " sizes ="16x16 " />
12
+ </ head >
13
+
14
+ < body >
15
+ < div id ="swagger-ui "> </ div >
16
+ < script src ="./swagger/swagger-ui-bundle.js " charset ="UTF-8 "> </ script >
17
+ < script src ="./swagger/swagger-ui-standalone-preset.js " charset ="UTF-8 "> </ script >
18
+ < script src ="./swagger/swagger-initializer.js " charset ="UTF-8 "> </ script >
19
+ </ body >
20
+ < script >
21
+ window . onload = ( ) => {
22
+ window . ui = SwaggerUIBundle ( {
23
+ url : './openapi.yml' ,
24
+ dom_id : '#swagger-ui' ,
25
+ presets : [
26
+ SwaggerUIBundle . presets . apis ,
27
+ SwaggerUIStandalonePreset
28
+ ] ,
29
+ layout : "StandaloneLayout" ,
30
+ } ) ;
31
+ } ;
32
+ </ script >
33
+
34
+ </ html >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments