-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.yml
63 lines (62 loc) · 1.25 KB
/
schema.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
openapi: 3.0.3
info:
title: Remind Me API
version: 1.0.0
description: Your Daily reminder application
paths:
/api/reminder/:
get:
operationId: api_reminder_retrieve
description: |-
GET method.
Returns list of reminders.
tags:
- api
security:
- cookieAuth: []
- basicAuth: []
- {}
responses:
'200':
description: No response body
post:
operationId: api_reminder_create
description: 'POST: create new reminder.'
tags:
- api
security:
- cookieAuth: []
- basicAuth: []
- {}
responses:
'200':
description: No response body
/api/reminder/{reminder_id}/:
delete:
operationId: api_reminder_destroy
description: Delete method.
parameters:
- in: path
name: reminder_id
schema:
type: string
format: uuid
required: true
tags:
- api
security:
- cookieAuth: []
- basicAuth: []
- {}
responses:
'204':
description: No response body
components:
securitySchemes:
basicAuth:
type: http
scheme: basic
cookieAuth:
type: apiKey
in: cookie
name: sessionid