File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
modules/openapi-generator/src/test/resources/3_0 Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,34 @@ paths:
117117 security :
118118 - petstore_auth :
119119 - ' read:pets'
120+ /pet/findByColor :
121+ get :
122+ tags :
123+ - pet
124+ summary : Finds Pets by color
125+ description : Returns pets filtered by color.
126+ operationId : findPetsByColor
127+ parameters :
128+ - name : color
129+ in : query
130+ description : Color of the pet to filter by
131+ required : false
132+ schema :
133+ $ref : ' #/components/schemas/Color'
134+ responses :
135+ ' 200 ' :
136+ description : successful operation
137+ content :
138+ application/json :
139+ schema :
140+ type : array
141+ items :
142+ $ref : ' #/components/schemas/Pet'
143+ ' 400 ' :
144+ description : Invalid color value
145+ security :
146+ - petstore_auth :
147+ - ' read:pets'
120148 /pet/findByTags :
121149 get :
122150 tags :
@@ -727,6 +755,16 @@ components:
727755 - sold
728756 xml :
729757 name : Pet
758+ Color :
759+ title : Pet Color
760+ description : pet color in the store
761+ type : string
762+ enum :
763+ - black
764+ - white
765+ - brown
766+ - golden
767+ - mixed
730768 ApiResponse :
731769 title : An uploaded response
732770 description : Describes the result of uploading an image resource
You can’t perform that action at this time.
0 commit comments