Skip to content

Commit 524cc6f

Browse files
committed
chore: adds test data for additional operations
Signed-off-by: Vincent Biret <[email protected]>
1 parent 701d460 commit 524cc6f

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

tests/schema/pass/path-item-object-example.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,24 @@ paths:
3232
type: array
3333
items:
3434
type: string
35-
style: simple
35+
style: simple
36+
additionalOperations:
37+
query:
38+
description: Returns pets based on ID
39+
summary: Find pets by ID
40+
operationId: queryPetsById
41+
responses:
42+
'200':
43+
description: pet response
44+
content:
45+
'*/*':
46+
schema:
47+
type: array
48+
items:
49+
$ref: '#/components/schemas/Pet'
50+
default:
51+
description: error payload
52+
content:
53+
text/html:
54+
schema:
55+
$ref: '#/components/schemas/ErrorModel'

0 commit comments

Comments
 (0)