forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobjectQueryParam.yaml
More file actions
35 lines (35 loc) · 782 Bytes
/
objectQueryParam.yaml
File metadata and controls
35 lines (35 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
openapi: 3.0.0
servers:
- url: 'localhost:8080'
info:
version: 1.0.0
title: OpenAPI Petstore
license:
name: Apache-2.0
url: 'https://www.apache.org/licenses/LICENSE-2.0.html'
paths:
/pony:
get:
operationId: list
parameters:
- in: query
name: pageQuery
required: true
schema:
type: object
properties:
offset:
type: integer
format: int32
limit:
type: integer
format: int32
- in: query
name: notRequired
required: false
schema:
type: object
properties:
foobar:
type: integer
format: int32