-
Notifications
You must be signed in to change notification settings - Fork 125
/
swagger.json
49 lines (49 loc) · 1.14 KB
/
swagger.json
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
{
"openapi": "3.0.2",
"paths": {
"/foo": {
"get": {
"operationId": "getFoo",
"responses": {
"200": {
"description": "no error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Foo"
}
}
}
}
}
}
}
},
"info": {
"version": "",
"title": ""
},
"servers": [
{
"url": "https://www.foo-host.com/base-path"
}
],
"components": {
"schemas": {
"Foo": {
"type": "object",
"properties": {
"foo": {
"type": "string"
}
}
}
},
"securitySchemes": {
"Basic": {
"type": "http",
"scheme": "basic"
}
}
}
}