File tree 4 files changed +26
-3
lines changed
4 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 15
15
"default" : " https://spec.openapis.org/oas/3.1/dialect/base"
16
16
},
17
17
"servers" : {
18
- "$ref" : " #/$defs/server"
18
+ "type" : " array" ,
19
+ "items" : {
20
+ "$ref" : " #/$defs/server"
21
+ }
19
22
},
20
23
"paths" : {
21
24
"$ref" : " #/$defs/paths"
1337
1340
}
1338
1341
}
1339
1342
}
1340
- }
1343
+ }
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ properties:
12
12
$ref : ' #/$defs/uri'
13
13
default : ' https://spec.openapis.org/oas/3.1/dialect/base'
14
14
servers :
15
- $ref : ' #/$defs/server'
15
+ type : array
16
+ items :
17
+ $ref : ' #/$defs/server'
16
18
paths :
17
19
$ref : ' #/$defs/paths'
18
20
webhooks :
Original file line number Diff line number Diff line change
1
+ openapi : 3.1.0
2
+ info :
3
+ title : API
4
+ version : 1.0.0
5
+ paths : {}
6
+ servers :
7
+ url : /v1
8
+ description : Run locally.
Original file line number Diff line number Diff line change
1
+ openapi : 3.1.0
2
+ info :
3
+ title : API
4
+ version : 1.0.0
5
+ paths : {}
6
+ servers :
7
+ - url : /v1
8
+ description : Run locally.
9
+ - url : https://production.com/v1
10
+ description : Run on production server.
You can’t perform that action at this time.
0 commit comments