File tree Expand file tree Collapse file tree 4 files changed +26
-3
lines changed Expand file tree Collapse file tree 4 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1515 "default" : " https://spec.openapis.org/oas/3.1/dialect/base"
1616 },
1717 "servers" : {
18- "$ref" : " #/$defs/server"
18+ "type" : " array" ,
19+ "items" : {
20+ "$ref" : " #/$defs/server"
21+ }
1922 },
2023 "paths" : {
2124 "$ref" : " #/$defs/paths"
13371340 }
13381341 }
13391342 }
1340- }
1343+ }
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ properties:
1212 $ref : ' #/$defs/uri'
1313 default : ' https://spec.openapis.org/oas/3.1/dialect/base'
1414 servers :
15- $ref : ' #/$defs/server'
15+ type : array
16+ items :
17+ $ref : ' #/$defs/server'
1618 paths :
1719 $ref : ' #/$defs/paths'
1820 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