-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.yaml
39 lines (36 loc) · 938 Bytes
/
spec.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
openapi: 3.0.0
info:
title: sharp
version: 0.0.1
servers:
- url: https://endpoint.ainize.ai/kiyeopyang/sharp/
paths:
/:
get:
parameters: # Set parameter values here
- name: url # Set parameter name
in: query # Select amongst query, header, path, and cookie
required: true
- name: resizeX
in: query
- name: resizeY
in: query
- name: quality
in: query
- name: scale
in: query
responses:
"200":
content:
applicatioin/json:
schema:
type: string
properties:
result:
type: string
format: byte
description: Base64-encoded contents of the avatar image
"400":
description: Bad Request Error
default:
description: Unexpected Error