File tree Expand file tree Collapse file tree 2 files changed +30
-27
lines changed
openapi_spec_validator/resources/schemas/v3.1
tests/integration/data/v3.1 Expand file tree Collapse file tree 2 files changed +30
-27
lines changed Original file line number Diff line number Diff line change 278278 "type" : " object" ,
279279 "patternProperties" : {
280280 "^/" : {
281- "$ref" : " #/$defs/path-item"
281+ "$ref" : " #/$defs/path-item-or-reference "
282282 }
283283 },
284284 "$ref" : " #/$defs/specification-extensions" ,
Original file line number Diff line number Diff line change @@ -55,31 +55,7 @@ paths:
5555 schema :
5656 $ref : " #/components/schemas/Error"
5757 /pets/{petId} :
58- get :
59- summary : Info for a specific pet
60- operationId : showPetById
61- tags :
62- - pets
63- parameters :
64- - name : petId
65- in : path
66- required : true
67- description : The id of the pet to retrieve
68- schema :
69- type : string
70- responses :
71- ' 200 ' :
72- description : Expected response to a valid request
73- content :
74- application/json :
75- schema :
76- $ref : " #/components/schemas/Pets"
77- default :
78- description : unexpected error
79- content :
80- application/json :
81- schema :
82- $ref : " #/components/schemas/Error"
58+ $ref : " #/components/pathItems/PetPath"
8359components :
8460 schemas :
8561 Pet :
@@ -109,4 +85,31 @@ components:
10985 type : integer
11086 format : int32
11187 message :
112- type : string
88+ type : string
89+ pathItems :
90+ PetPath :
91+ get :
92+ summary : Info for a specific pet
93+ operationId : showPetById
94+ tags :
95+ - pets
96+ parameters :
97+ - name : petId
98+ in : path
99+ required : true
100+ description : The id of the pet to retrieve
101+ schema :
102+ type : string
103+ responses :
104+ ' 200 ' :
105+ description : Expected response to a valid request
106+ content :
107+ application/json :
108+ schema :
109+ $ref : " #/components/schemas/Pets"
110+ default :
111+ description : unexpected error
112+ content :
113+ application/json :
114+ schema :
115+ $ref : " #/components/schemas/Error"
You can’t perform that action at this time.
0 commit comments