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
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
I can't find any way to set a format such as "date" on a property, as defined in the OAS 3.0 spec.
It's automatically set to "date-time" on DateTime objects, but I want to set it to "date" as that's the format that the JsonConverter I have on the property converts it to.
The text was updated successfully, but these errors were encountered:
@Shwetap05 did you have a chance to get an ETA on this?
I've stumbled upon a similar case where I use a string field to circumvent the issue, had some other issues longer down the pipe, so would prefer to just mark date as a format.
Just to show the impact this currently have, I'll add my case here as well.
For some reason it detects yyyy-MM-dd as a date in strings, this then behaves as datetime, whom is quite wrong for my application.
Have a look yourself.
Our current docs.
The class
Example generated from code.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can't find any way to set a format such as "date" on a property, as defined in the OAS 3.0 spec.
It's automatically set to "date-time" on DateTime objects, but I want to set it to "date" as that's the format that the JsonConverter I have on the property converts it to.
The text was updated successfully, but these errors were encountered: