-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Expand file tree
/
Copy pathopenapi.yaml
More file actions
140 lines (139 loc) · 3.11 KB
/
openapi.yaml
File metadata and controls
140 lines (139 loc) · 3.11 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
openapi: 3.0.0
info:
description: test fully qualified name and jspecify
title: jspecify
version: 1.0.0
servers:
- url: /
paths:
/foo/{dtParam}:
get:
parameters:
- explode: false
in: path
name: dtParam
required: false
schema:
format: date-time
type: string
style: simple
- explode: true
in: query
name: dtQuery
required: false
schema:
format: date-time
type: string
style: form
- explode: true
in: cookie
name: dtCookie
required: false
schema:
format: date-time
type: string
style: form
responses:
default:
content:
application/json:
schema:
$ref: "#/components/schemas/Foo"
description: response
x-accepts:
- application/json
/upload:
post:
requestBody:
content:
multipart/form-data:
schema:
$ref: "#/components/schemas/_upload_post_request"
description: file
responses:
default:
content:
application/json:
schema:
$ref: "#/components/schemas/_upload_post_default_response"
description: ok
x-content-type: multipart/form-data
x-accepts:
- application/json
/download/{id}:
get:
parameters:
- explode: false
in: path
name: id
required: true
schema:
type: string
style: simple
responses:
"200":
content:
application/octet-stream:
schema:
format: binary
type: string
description: ok
x-accepts:
- application/octet-stream
components:
schemas:
Foo:
example:
dt: 2000-01-23T04:56:07.000+00:00
number: 0.8008281904610115
binary: ""
listOfDt:
- 2000-01-23T04:56:07.000+00:00
- 2000-01-23T04:56:07.000+00:00
listMinIntems:
- 2000-01-23T04:56:07.000+00:00
- 2000-01-23T04:56:07.000+00:00
requiredDt: 2000-01-23T04:56:07.000+00:00
properties:
dt:
format: date-time
type: string
binary:
format: binary
type: string
listOfDt:
items:
format: date-time
type: string
type: array
listMinIntems:
items:
format: date-time
type: string
minItems: 1
type: array
requiredDt:
format: date-time
type: string
number:
type: number
required:
- requiredDt
_upload_post_request:
properties:
file:
format: binary
type: string
metadata:
format: binary
type: string
required:
- file
type: object
_upload_post_default_response:
example:
id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
properties:
id:
format: uuid
type: string