-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
30 lines (30 loc) · 803 Bytes
/
openapi.yaml
File metadata and controls
30 lines (30 loc) · 803 Bytes
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
openapi: 3.0.3
info:
title: BeatsByte - MP3 Compression Service
description: A service for compressing MP3 files.
version: 1.0.0
paths:
/compress-audio:
post:
description: Compress an mp3 file
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
description: The MP3 file to be compressed
responses:
'200':
description: OK
content:
audio/mpeg:
schema:
type: string
format: binary
'400':
description: Bad request, possibly due to an invalid file format or size.