Skip to content

Commit 226a784

Browse files
committed
objectQueryParam.yaml: Add both required and not required object query params for testing
1 parent 3c664d1 commit 226a784

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

modules/openapi-generator/src/test/resources/3_0/objectQueryParam.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ paths:
1414
parameters:
1515
- in: query
1616
name: pageQuery
17+
required: true
1718
schema:
1819
type: object
1920
properties:
@@ -22,4 +23,13 @@ paths:
2223
format: int32
2324
limit:
2425
type: integer
25-
format: int32
26+
format: int32
27+
- in: query
28+
name: notRequired
29+
required: false
30+
schema:
31+
type: object
32+
properties:
33+
foobar:
34+
type: integer
35+
format: int32

0 commit comments

Comments
 (0)