-
Notifications
You must be signed in to change notification settings - Fork 0
/
openapi.yml
45 lines (43 loc) · 919 Bytes
/
openapi.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
openapi: 3.0.3
info:
title: KTV tool
version: 1.0.0
paths:
/split:
get:
summary: Split Audio Source from Youtube URL
parameters:
- name: url
in: query
required: true
description: Youtube URL
schema:
type: string
responses:
"200":
description: Successful
content:
application/json:
schema:
$ref: "#/components/schemas/Success"
default:
description: unexpected error
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
components:
schemas:
Success:
type: string
Error:
type: object
required:
- code
- message
properties:
code:
type: integer
format: int32
message:
type: string