...
1{
2 "consumes": [
3 "application/json",
4 "application/x-www-form-urlencoded"
5 ],
6 "paths": {
7 "/testing": {
8 "put": {
9 "operationId": "putTesting",
10 "parameters": [
11 {
12 "format": "date",
13 "in": "formData",
14 "name": "testingThis",
15 "type": "string"
16 }
17 ],
18 "responses": {
19 "200": {
20 "description": "Success message"
21 }
22 }
23 }
24 }
25 },
26 "produces": [
27 "application/json",
28 "application/json; charset=utf-8"
29 ],
30 "swagger": "2.0",
31 "info": {
32 "title": "test formats for form params",
33 "version": "0.0.0"
34 }
35}
View as plain text