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
Is your feature request related to a problem? Please describe.
give the specification attached , the validation says Woohoo! Your API description is valid.
that rigourously speacking it is ,
but having for a field with a format date , a value 1Y looks not correct
Describe the solution you'd like
given fields with format , if format is well known such as date , uuid, redocly should raise a warning , this as an opinionnated good practices around well known format
(notice that it is an opinionnated rules as from a strict json schema point of view format is just an annotation not a strict validation item)
Describe alternatives you've considered
moving to pattern could be an option but that is not really sustainaible especially for date, as it is spreading a complex regular expression
Additional context
here a tiny sample that show case that date are not considered
Is your feature request related to a problem? Please describe.
give the specification attached , the validation says Woohoo! Your API description is valid.
that rigourously speacking it is ,
but having for a field with a format date , a value 1Y looks not correct
Describe the solution you'd like
given fields with format , if format is well known such as date , uuid, redocly should raise a warning , this as an opinionnated good practices around well known format
(notice that it is an opinionnated rules as from a strict json schema point of view format is just an annotation not a strict validation item)
Describe alternatives you've considered
moving to pattern could be an option but that is not really sustainaible especially for date, as it is spreading a complex regular expression
Additional context
here a tiny sample that show case that date are not considered
smallDate.json
The text was updated successfully, but these errors were encountered: