| 1 | { |
| 2 | "post": { |
| 3 | "operationId": "multi_param_api_test_multi_cookie", |
| 4 | "summary": "Test Multi Cookie", |
| 5 | "parameters": [ |
| 6 | { |
| 7 | "in": "cookie", |
| 8 | "name": "i", |
| 9 | "schema": { |
| 10 | "title": "I", |
| 11 | "type": "integer" |
| 12 | }, |
| 13 | "required": true |
| 14 | }, |
| 15 | { |
| 16 | "in": "cookie", |
| 17 | "name": "s", |
| 18 | "schema": { |
| 19 | "title": "S", |
| 20 | "default": "a-str", |
| 21 | "type": "string" |
| 22 | }, |
| 23 | "required": false |
| 24 | }, |
| 25 | { |
| 26 | "in": "cookie", |
| 27 | "name": "foo4", |
| 28 | "description": "Foo4 Desc", |
| 29 | "schema": { |
| 30 | "title": "Foo4 Title", |
| 31 | "description": "Foo4 Desc", |
| 32 | "default": 44, |
| 33 | "type": "integer" |
| 34 | }, |
| 35 | "required": false |
| 36 | }, |
| 37 | { |
| 38 | "in": "cookie", |
| 39 | "name": "bar4", |
| 40 | "schema": { |
| 41 | "title": "Bar4", |
| 42 | "default": "44bar", |
| 43 | "type": "string" |
| 44 | }, |
| 45 | "required": false |
| 46 | }, |
| 47 | { |
| 48 | "in": "cookie", |
| 49 | "name": "foo", |
| 50 | "schema": { |
| 51 | "title": "Foo", |
| 52 | "type": "integer" |
| 53 | }, |
| 54 | "required": true |
| 55 | }, |
| 56 | { |
| 57 | "in": "cookie", |
| 58 | "name": "bar", |
| 59 | "schema": { |
| 60 | "title": "Bar", |
| 61 | "default": "11bar", |
| 62 | "type": "string" |
| 63 | }, |
| 64 | "required": false |
| 65 | }, |
| 66 | { |
| 67 | "in": "cookie", |
| 68 | "name": "foo2", |
| 69 | "description": "Foo2 Desc", |
| 70 | "schema": { |
| 71 | "title": "Foo2 Title", |
| 72 | "description": "Foo2 Desc", |
| 73 | "default": 22, |
| 74 | "type": "integer" |
| 75 | }, |
| 76 | "required": false |
| 77 | }, |
| 78 | { |
| 79 | "in": "cookie", |
| 80 | "name": "bar2", |
| 81 | "schema": { |
| 82 | "title": "Bar2", |
| 83 | "type": "string" |
| 84 | }, |
| 85 | "required": true |
| 86 | }, |
| 87 | { |
| 88 | "in": "cookie", |
| 89 | "name": "foo3", |
| 90 | "description": "Foo3 Desc", |
| 91 | "schema": { |
| 92 | "title": "Foo3 Title", |
| 93 | "description": "Foo3 Desc", |
| 94 | "type": "integer" |
| 95 | }, |
| 96 | "required": true |
| 97 | }, |
| 98 | { |
| 99 | "in": "cookie", |
| 100 | "name": "bar3", |
| 101 | "schema": { |
| 102 | "title": "Bar3", |
| 103 | "default": "33bar", |
| 104 | "type": "string" |
| 105 | }, |
| 106 | "required": false |
| 107 | } |
| 108 | ], |
| 109 | "responses": { |
| 110 | "200": { |
| 111 | "description": "OK", |
| 112 | "content": { |
| 113 | "application/json": { |
| 114 | "schema": { |
| 115 | "$ref": "#/components/schemas/ResponseData" |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | }, |
| 121 | "description": "Testing w/ Cookies requires setting the cookies by hand in the browser inspector" |
| 122 | } |
| 123 | } |