You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
openapi: 3.0.0info:
version: "{version}"title: String parameter with format date or date-time does not render properlypaths:
/test:
get:
parameters:
- in: queryname: afterDateschema:
type: stringformat: date
- in: queryname: afterDateTimeschema:
type: stringformat: date-timeresponses:
"200":
description: ""
mathis-m
changed the title
String parameter with format date or date-time does not render properly
String parameter with format date or date-time should fallback to current date if no example or default is defined.
Jan 7, 2021
Content & configuration
Example Swagger/OpenAPI definition:
Describe the bug you're encountering
Should use current date for example value. #5061 (comment)
To reproduce...
Create string schema with format date or date-time and use it as parameter schema.
Steps to reproduce the behavior:
Expected behavior
Renders current date as default fallback.
The text was updated successfully, but these errors were encountered: