forked from davidmoten/openapi-to-plantuml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparameter-anon.yml
47 lines (46 loc) · 1.09 KB
/
parameter-anon.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
openapi: 3.0.1
info:
title: unit test
version: 0.0.1
paths:
/customer/expired:
get:
parameters:
- name: offset
in: query
required: true
description: The number of items to skip before starting to collect the result set
schema:
type: object
properties:
min:
type: integer
max:
type: integer
- name: limit
in: query
required: false
description: The number of items to skip before starting to collect the result set
schema:
type: object
properties:
min:
type: integer
max:
type: integer
responses:
'200':
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Customer'
components:
schemas:
Customer:
properties:
firstName:
type: string
lastName:
type: string