mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
[python-nextgen] Fix enum query parameter (#15278)
* fix enum query parameter in python-nextgen * update samples
This commit is contained in:
@@ -99,6 +99,29 @@ paths:
|
||||
tags:
|
||||
- header
|
||||
x-accepts: text/plain
|
||||
/query/enum_ref_string:
|
||||
get:
|
||||
description: Test query parameter(s)
|
||||
operationId: test/enum_ref_string
|
||||
parameters:
|
||||
- explode: true
|
||||
in: query
|
||||
name: enum_ref_string_query
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
style: form
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
text/plain:
|
||||
schema:
|
||||
type: string
|
||||
description: Successful operation
|
||||
summary: Test query parameter(s)
|
||||
tags:
|
||||
- query
|
||||
x-accepts: text/plain
|
||||
/query/datetime/date/string:
|
||||
get:
|
||||
description: Test query parameter(s)
|
||||
|
||||
Reference in New Issue
Block a user