forked from barathis1998/Youtube-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhistory.yaml
43 lines (43 loc) · 894 Bytes
/
history.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
openapi: 3.0.0
info:
title: History Controller
version: 1.0.0
servers:
- url: http://localhost:9002
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
paths:
/histories:
get:
tags:
- default
summary: GetHistory
security:
- bearerAuth: []
responses:
"200":
description: Successful response
content:
application/json: {}
post:
tags:
- default
summary: CreateHistory
requestBody:
content:
application/json:
schema:
type: object
example:
videoId: 644022ec43b67ff1bac02d61
type: watch
security:
- bearerAuth: []
responses:
"200":
description: Successful response
content:
application/json: {}