-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors for unknown format #48
Labels
enhancement
New feature or request
Comments
Agreed. This should be looked at. |
cdimascio
added
enhancement
New feature or request
help wanted
Extra attention is needed
labels
Sep 6, 2019
cdimascio
pushed a commit
that referenced
this issue
Oct 8, 2019
i've made progress on this issue. A fix should be available by the end of the week. the fix will also resolve #56 |
@robianmcd @richdouglasevans @Silkjaer Unknown formats are supported in v2.4.0, see |
Great to hear. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An error is thrown when there is a custom format on a property. e.g. if the api spec has something like:
This will result in an error like
Error: unknown format "phone-number" is used in schema at path "#/properties/body/properties/phoneNumber"
The OpenAPI spec is pretty flexible on formats so I think this should be allowed. E.g. this page says (https://swagger.io/specification/):
The text was updated successfully, but these errors were encountered: