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:
Ian Cubbon
2023-11-12 19:01:32 -07:00
committed by GitHub
parent 5693eee4e0
commit 2f655f1a9c
10 changed files with 138 additions and 1 deletions

View File

@@ -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: