@@ -3,24 +3,24 @@ openapi: 3.0.0
3
3
info :
4
4
title : Sample Pet Store App
5
5
description : This is a sample server for a pet store.
6
- termsOfService : " http://example.com/terms/"
6
+ termsOfService : http://example.com/terms/
7
7
contact :
8
8
name : API Support
9
- url : " http://www.example.com/support"
9
+ url : http://www.example.com/support
10
10
11
11
x-email : x-email-value
12
12
license :
13
13
name : Apache 2.0
14
- url : " http://www.apache.org/licenses/LICENSE-2.0.html"
14
+ url : http://www.apache.org/licenses/LICENSE-2.0.html
15
15
x-license : x-license-value
16
16
version : 1.0.1
17
17
x-version : x-version-value
18
18
externalDocs :
19
19
description : Find more info here
20
- url : " https://swagger.io"
20
+ url : https://swagger.io
21
21
x-externalDocs : x-externalDocs-value
22
22
servers :
23
- - url : " urn:server1"
23
+ - url : urn:server1
24
24
description : Server 1 description.
25
25
variables :
26
26
Variable1 :
@@ -49,14 +49,14 @@ servers:
49
49
x-variables-object :
50
50
prop1 : value1
51
51
prop2 : value2
52
- - url : " urn:server2"
52
+ - url : urn:server2
53
53
description : Server 2 description.
54
54
security :
55
55
- api_key : []
56
56
- basic_auth : []
57
57
- oauth2_auth :
58
- - " write:foo"
59
- - " read:foo"
58
+ - write:foo
59
+ - read:foo
60
60
tags :
61
61
- name : tag-1
62
62
description : Tag 1 description.
@@ -66,10 +66,10 @@ tags:
66
66
description : Tag 2 description.
67
67
externalDocs :
68
68
description : Find more info here
69
- url : " https://example.com"
69
+ url : https://example.com
70
70
paths :
71
71
/foo :
72
- $ref : " #/paths/self"
72
+ $ref : ' #/paths/self'
73
73
summary : A summary
74
74
description : Some description here.
75
75
get :
@@ -80,15 +80,15 @@ paths:
80
80
description : Operation description here.
81
81
externalDocs :
82
82
description : Find more info on GET here
83
- url : " https://example.com/#get"
83
+ url : https://example.com/#get
84
84
operationId : getAllFoos
85
85
parameters :
86
86
- name : Param1
87
87
in : query
88
88
description : Param description here.
89
89
required : true
90
90
schema :
91
- $ref : " #/components/schemas/MySchema"
91
+ $ref : ' #/components/schemas/MySchema'
92
92
allowEmptyValue : true
93
93
deprecated : false
94
94
style : simple
@@ -102,11 +102,11 @@ paths:
102
102
value : foo
103
103
externalValue : foo-bar
104
104
Example-2 :
105
- $ref : " #/components/examples/Example-2"
105
+ $ref : ' #/components/examples/Example-2'
106
106
content :
107
107
application/json :
108
108
schema :
109
- $ref : " #/components/schemas/MySchema27"
109
+ $ref : ' #/components/schemas/MySchema27'
110
110
example :
111
111
p1 : v1
112
112
p2 : true
@@ -123,7 +123,7 @@ paths:
123
123
allowReserved : false
124
124
x-mediaType-1 : x-mediaType-1-value
125
125
x-mediaType-2 : x-mediaType-2-value
126
- - $ref : " #/components/parameters/Param2"
126
+ - $ref : ' #/components/parameters/Param2'
127
127
requestBody :
128
128
description : Description of the request body.
129
129
content :
@@ -138,7 +138,7 @@ paths:
138
138
- baz
139
139
responses :
140
140
default :
141
- $ref : " #/components/responses/DefaultResponse"
141
+ $ref : ' #/components/responses/DefaultResponse'
142
142
" 200 " :
143
143
description : Successful response.
144
144
headers :
@@ -150,7 +150,7 @@ paths:
150
150
style : simple
151
151
explode : false
152
152
schema :
153
- $ref : " #/components/schemas/SomeOtherSchema"
153
+ $ref : ' #/components/schemas/SomeOtherSchema'
154
154
example :
155
155
foo : baz
156
156
examples :
@@ -160,7 +160,7 @@ paths:
160
160
x-header-1 : x-header-1-value
161
161
x-header-2 : 179
162
162
Header-2 :
163
- $ref : " #/components/headers/BarHeader"
163
+ $ref : ' #/components/headers/BarHeader'
164
164
content :
165
165
application/json : {}
166
166
text/plain : {}
@@ -172,28 +172,28 @@ paths:
172
172
requestBody : {}
173
173
description : Description of link 1.
174
174
server :
175
- url : " urn:server-1"
175
+ url : urn:server-1
176
176
x-link-1 : x-link-1-value
177
177
x-link-2 : true
178
178
Link-2 :
179
- $ref : " #/components/links/LinkTwo"
179
+ $ref : ' #/components/links/LinkTwo'
180
180
" 404 " :
181
- $ref : " #/components/responses/NotFound"
181
+ $ref : ' #/components/responses/NotFound'
182
182
callbacks :
183
183
Callback-1 :
184
- $ref : " #/components/callbacks/CallbackOne"
184
+ $ref : ' #/components/callbacks/CallbackOne'
185
185
Callback-2 :
186
186
PathItem-1 :
187
- $ref : " #/paths/fooItem"
187
+ $ref : ' #/paths/fooItem'
188
188
x-callback-1 : x-callback-1-value
189
189
x-callback-2 : 17
190
190
deprecated : true
191
191
security :
192
192
- api_key : []
193
193
- basic_auth : []
194
194
servers :
195
- - url : " urn:server1"
196
- - url : " urn:server2"
195
+ - url : urn:server1
196
+ - url : urn:server2
197
197
x-operation-1 : true
198
198
x-operation-2 :
199
199
hello : world
@@ -219,7 +219,7 @@ paths:
219
219
trace :
220
220
operationId : traceAllFoos
221
221
/foo/{fooId} :
222
- $ref : " #/paths/OtherPathItem"
222
+ $ref : ' #/paths/OtherPathItem'
223
223
x-paths-extension-1 : paths extension value
224
224
x-paths-extension-2 :
225
225
- array
@@ -256,9 +256,9 @@ components:
256
256
bearerFormat : bearer-format-value
257
257
flows :
258
258
implicit :
259
- authorizationUrl : " urn:auth-url"
260
- tokenUrl : " urn:token-url"
261
- refreshUrl : " urn:refresh-url"
259
+ authorizationUrl : urn:auth-url
260
+ tokenUrl : urn:token-url
261
+ refreshUrl : urn:refresh-url
262
262
scopes :
263
263
read:foo : read access to foos
264
264
write:foo : write access to foos
@@ -270,7 +270,7 @@ components:
270
270
authorizationCode : {}
271
271
x-flows-ext-1 : flows-ext-value
272
272
x-flows-ext-2 : false
273
- openIdConnectUrl : " urn:open-id-connect/url"
273
+ openIdConnectUrl : urn:open-id-connect/url
274
274
x-scheme-ext-1 : -1023873
275
275
oauth :
276
276
type : oauth2
0 commit comments