-
Notifications
You must be signed in to change notification settings - Fork 279
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
error: Error: unknown format "int64" is used in schema #1879
Comments
We found the same issue with the swagger custom format "byte" (dredd v14.0.0 )
It seems swagger custom formats (extensions to json-schema) got somehow misconfigured when bumping AJV in gavel. I disagree with the proposed solution of having a flag to skip validation, I would prefer these formats to be supported again. |
@artem-zakharchenko do you know if we support this custom data format in schema validation using Gavel? |
I think this is pretty much the same as #1719 (comment) |
Describe the bug
The following error is displayed:
This is an error in AJV v6
the guys from stoplightio encountered the same problem and solved it
stoplightio/spectral#187 (comment)
I wanted to know if it is possible to add to the dredd a flag that will not validate the scheme, and will only check the response code "--validate-schema" ?
Just like in this library ajv-cli
https://github.com/ajv-validator/ajv-cli#options-1
I can't use dredd because of this bug.
To Reproduce
Use this in your swagger spec:
Expected behavior
No error should be generated or displayed.
What's your
dredd --version
output?Does
dredd --loglevel=debug
uncover something?The text was updated successfully, but these errors were encountered: