forked from JamesQFreeman/PointRend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
swagger.yaml
41 lines (37 loc) · 987 Bytes
/
swagger.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
openapi: 3.0.0
info:
title: PointRend:image segmentation as rendering by ainize
version: 0.1.1
servers:
- url: http://35.200.74.68:80/
paths:
/:
post:
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
image1:
type: string
format: binary
image2:
type: string
format: binary
responses:
'200':
description: OK
content:
image/*:
schema:
type: string
format: binary
'400':
description: Bad request. User ID must be an integer and larger than 0.
'401':
description: Authorization information is missing or invalid.
'404':
description: A user with the specified ID was not found.
'5XX':
description: Unexpected error.