mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 03:17:09 +00:00
Time parameters in the path resulted in code that would not compile (#17021)
This is probably a pretty rare case as it just seems weird to have a time path parameter, but it's good to fix.
This commit is contained in:
@@ -761,6 +761,28 @@ paths:
|
||||
summary: Get the pets by only using boolean query parameters
|
||||
tags:
|
||||
- pet
|
||||
/pets/byTime/{createdTime}:
|
||||
get:
|
||||
operationId: GetPetsByTime
|
||||
parameters:
|
||||
- explode: false
|
||||
in: path
|
||||
name: createdTime
|
||||
required: true
|
||||
schema:
|
||||
format: date-time
|
||||
type: string
|
||||
style: simple
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponse'
|
||||
description: successful operation
|
||||
summary: Get the pets by time
|
||||
tags:
|
||||
- pet
|
||||
components:
|
||||
requestBodies:
|
||||
UserArray:
|
||||
|
||||
Reference in New Issue
Block a user