mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 00:43:46 +00:00
Codegen parameter for query json serialization (#21718)
* Add endpoints with query parameters that require Json-serialization * Add property for query json-serialization * Update samples * Adjust indentation for specification
This commit is contained in:
committed by
GitHub
parent
6ff9e67bad
commit
8874df4702
@@ -467,6 +467,39 @@ paths:
|
||||
- query
|
||||
x-accepts:
|
||||
- text/plain
|
||||
/query/style_jsonSerialization/object:
|
||||
get:
|
||||
description: Test query parameter(s)
|
||||
operationId: test/query/style_jsonSerialization/object
|
||||
parameters:
|
||||
- content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Pet"
|
||||
in: query
|
||||
name: json_serialized_object_ref_string_query
|
||||
required: false
|
||||
- content:
|
||||
application/json:
|
||||
schema:
|
||||
items:
|
||||
$ref: "#/components/schemas/Pet"
|
||||
type: array
|
||||
in: query
|
||||
name: json_serialized_object_array_ref_string_query
|
||||
required: false
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
text/plain:
|
||||
schema:
|
||||
type: string
|
||||
description: Successful operation
|
||||
summary: Test query parameter(s)
|
||||
tags:
|
||||
- query
|
||||
x-accepts:
|
||||
- text/plain
|
||||
/body/application/octetstream/binary:
|
||||
post:
|
||||
description: Test body parameter(s)
|
||||
|
||||
Reference in New Issue
Block a user