generated from getir-nodejs-bootcamp/getirgraduationproject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswagger.yaml
65 lines (65 loc) · 1.34 KB
/
swagger.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
openapi: 3.0.0
info:
title: GETIR-API-TASK
contact: {}
version: "1.0"
servers:
- url: https://getir-api-utku-koca.herokuapp.com/api/v1
variables: {}
paths:
/records:
post:
tags:
- Records
summary: LIST RECORDS
operationId: LISTRECORDS
parameters: []
requestBody:
description: ""
content:
application/json:
schema:
$ref: "#/components/schemas/LISTRECORDSREQUEST"
example:
startDate: "2016-10-04"
endDate: "2018-07-21"
minCount: 300
maxCount: 1000
required: true
responses:
"200":
description: ""
headers: {}
deprecated: false
security: []
components:
schemas:
LISTRECORDSREQUEST:
title: LISTRECORDSREQUEST
required:
- startDate
- endDate
- minCount
- maxCount
type: object
properties:
startDate:
type: string
endDate:
type: string
minCount:
type: integer
format: int32
maxCount:
type: integer
format: int32
example:
startDate: "2016-10-04"
endDate: "2018-07-21"
minCount: 300
maxCount: 1000
security:
- {}
tags:
- name: Records
description: ""