forked from MingweiSamuel/lcu-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html.diff
27 lines (26 loc) · 830 Bytes
/
index.html.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff --git a/out/tool/index.html b/out/tool/index.html
index 32169e36..15193a59 100644
--- a/out/tool/index.html
+++ b/out/tool/index.html
@@ -39,7 +39,7 @@
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
- url: "https://petstore.swagger.io/v2/swagger.json",
+ url: "../openapi.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
@@ -49,7 +49,12 @@
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
- layout: "StandaloneLayout"
+ layout: "StandaloneLayout",
+ // Added:
+ displayOperationId: true,
+ docExpansion: "none",
+ filter: true,
+ supportedSubmitMethods: [], // Disable "Try it out".
})
// End Swagger UI call region