Skip to content

Commit d5bd9b4

Browse files
committed
improved examples
1 parent c233c47 commit d5bd9b4

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

docs/examples/data-types.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
show-info = "false"
2323
show-header = "false"
2424
render-style = "read"
25-
allow-try = "false"
25+
allow-try = "true"
2626
regular-font = 'Open Sans'
2727
mono-font = "Roboto Mono"
2828
>

docs/examples/example100.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,15 @@
5454
else if(attr==="spec-url"){
5555
arr = [
5656
"https://petstore.swagger.io/v2/swagger.json"
57-
,"https://api.apis.guru/v2/specs/amazonaws.com/acm/2015-12-08/swagger.json"
58-
,"https://api.apis.guru/v2/specs/bitbucket.org/2.0/swagger.json",
59-
,"https://api.apis.guru/v2/specs/appveyor.com/1.0.0/swagger.json"
60-
,"https://api.apis.guru/v2/specs/github.com/v3/swagger.json"
61-
,"https://api.apis.guru/v2/specs/box.com/2.0/openapi.json"
62-
,"https://api.apis.guru/v2/specs/twilio.com/2010-04-01/swagger.json"
63-
,"https://api.apis.guru/v2/specs/stackexchange.com/2.0/swagger.json"
64-
,"https://api.apis.guru/v2/specs/cisco.com/0.0.3/swagger.json"
65-
,"https://api.apis.guru/v2/specs/googleapis.com/drive/v3/swagger.json"
57+
,"https://api.apis.guru/v2/specs/apideck.com/crm/0.0.1/openapi.yaml"
58+
,"https://api.apis.guru/v2/specs/atlassian.com/jira/1001.0.0-SNAPSHOT/openapi.yaml",
59+
,"https://api.apis.guru/v2/specs/googleapis.com/managedidentities/v1beta1/openapi.yaml"
60+
,"https://api.apis.guru/v2/specs/azure.com/azureactivedirectory/2017-04-01/swagger.yaml"
61+
,"https://api.apis.guru/v2/specs/gitlab.com/v3/swagger.yaml"
62+
,"https://api.apis.guru/v2/specs/quotes.rest/3.1/openapi.yaml"
6663
,"https://api.apis.guru/v2/specs/azure.com/workloadmonitor-Microsoft.WorkloadMonitor/2018-08-31-preview/swagger.json"
64+
,"https://api.apis.guru/v2/specs/api2cart.com/1.1/openapi.yaml"
65+
,"https://api.apis.guru/v2/specs/chompthis.com/1.0.0-oas3/openapi.yaml"
6766
];
6867
}
6968
else{

docs/specs/data-types.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,12 @@ paths:
165165
- name: interests
166166
in: query
167167
required: true
168+
description: __Exploded Array__ will send separate querystring parameter for each items eg - `interests=computers&interests=movies`
168169
schema:
169170
type: array
171+
example:
172+
- computers
173+
- movies
170174
minItems: 1
171175
maxItems: 3
172176
items:
@@ -183,7 +187,7 @@ paths:
183187
default: hiking
184188
- name: tags
185189
in: query
186-
description: Add tags to the person (not-exploded)
190+
description: __Not Exploded Array__ will send a single querystring parameter with comma separated string eg - `tags=tall,dark,handsome`
187191
style: form
188192
explode: false
189193
schema:

0 commit comments

Comments
 (0)