forked from cyclic-software/starter-rest-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswagger.json
51 lines (51 loc) · 1.33 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
50
51
{
"swagger": "2.0",
"info": {
"title": "Blah",
"description": "",
"version": "1.0"
},
"produces": ["application/json"],
"paths": {
"/test": {
"post": {
"x-swagger-router-controller": "home",
"operationId": "index",
"tags": ["/test"],
"description": "[Login 123](https://www.google.com)",
"parameters": [{
"name": "test",
"in": "formData",
"type": "array",
"collectionFormat": "multi",
"items": {
"type": "integer"
}
},
{ "name": "profileId", "in": "formData", "required": true, "type": "string" },
{ "name": "file", "in": "formData", "type": "file", "required": "true" }],
"responses": {}
}
},
"/bar": {
"get": {
"x-swagger-router-controller": "bar",
"operationId": "impossible",
"tags": ["/test"],
"description": "",
"parameters": [],
"responses": {}
}
},
"/member": {
"get": {
"x-swagger-router-controller": "member",
"operationId": "impossible",
"tags": ["/member"],
"description": "",
"parameters": [],
"responses": {}
}
}
}
}