| 1 | { |
| 2 | "post": { |
| 3 | "operationId": "multi_param_api_test_multi_body", |
| 4 | "summary": "Test Multi Body", |
| 5 | "parameters": [], |
| 6 | "responses": { |
| 7 | "200": { |
| 8 | "description": "OK", |
| 9 | "content": { |
| 10 | "application/json": { |
| 11 | "schema": { |
| 12 | "$ref": "#/components/schemas/ResponseData" |
| 13 | } |
| 14 | } |
| 15 | } |
| 16 | } |
| 17 | }, |
| 18 | "requestBody": { |
| 19 | "content": { |
| 20 | "application/json": { |
| 21 | "schema": { |
| 22 | "title": "BodyParams", |
| 23 | "type": "object", |
| 24 | "properties": { |
| 25 | "i": { |
| 26 | "title": "I", |
| 27 | "type": "integer" |
| 28 | }, |
| 29 | "s": { |
| 30 | "title": "S", |
| 31 | "default": "a-str", |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "data": { |
| 35 | "title": "Data4 Title", |
| 36 | "description": "Data4 Desc", |
| 37 | "$ref": "#/components/schemas/TestData4" |
| 38 | }, |
| 39 | "nested-data": { |
| 40 | "$ref": "#/components/schemas/TestData" |
| 41 | } |
| 42 | }, |
| 43 | "required": [ |
| 44 | "i", |
| 45 | "data", |
| 46 | "nested-data" |
| 47 | ] |
| 48 | } |
| 49 | } |
| 50 | }, |
| 51 | "required": true |
| 52 | } |
| 53 | } |
| 54 | } |