Allow setting format and validations in open-api spec for all properties of type string
Is your feature request related to a problem? Please describe. When generating API clients, I'd like to automatically handle conversion of object properties of type string based on the "format" property in the open-api spec, i.e. based on https://json-schema.org/draft/2020-12/json-schema-validation#name-vocabularies-for-semantic-c The most relevant examples are date, time and date-time.
Describe the solution you'd like
To that end I suggest introducing a new format annotation that can be stored in the annotations field of Schema instances.
Describe alternatives you've considered I could post-process my spec and manually add the formats when generating the spec
@plokhotnyuk we should fix this in the zio-blocks version of json schema. I will keep this ticket open for tracking tho.