mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
[Python] Add echo_api test object serialization for multipart requests (#18176)
* [python] echo add test object serialization for multipart requests * [echo api] update samples * [echo api] update samples
This commit is contained in:
@@ -104,6 +104,28 @@ paths:
|
||||
x-content-type: application/x-www-form-urlencoded
|
||||
x-accepts:
|
||||
- text/plain
|
||||
/form/object/multipart:
|
||||
post:
|
||||
description: Test form parameter(s) for multipart schema
|
||||
operationId: test/form/object/multipart
|
||||
requestBody:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_form_object_multipart_request'
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
text/plain:
|
||||
schema:
|
||||
type: string
|
||||
description: Successful operation
|
||||
summary: Test form parameter(s) for multipart schema
|
||||
tags:
|
||||
- form
|
||||
x-content-type: multipart/form-data
|
||||
x-accepts:
|
||||
- text/plain
|
||||
/header/integer/boolean/string/enums:
|
||||
get:
|
||||
description: Test header parameter(s)
|
||||
@@ -933,6 +955,18 @@ components:
|
||||
- $ref: '#/components/schemas/test_form_oneof_request_oneOf_1'
|
||||
- $ref: '#/components/schemas/Tag'
|
||||
type: object
|
||||
test_form_object_multipart_request_marker:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
type: object
|
||||
test_form_object_multipart_request:
|
||||
properties:
|
||||
marker:
|
||||
$ref: '#/components/schemas/test_form_object_multipart_request_marker'
|
||||
required:
|
||||
- marker
|
||||
type: object
|
||||
test_query_style_form_explode_true_array_string_query_object_parameter:
|
||||
properties:
|
||||
values:
|
||||
|
||||
Reference in New Issue
Block a user