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 has been archived by the owner on Nov 8, 2024. It is now read-only.
Describe the bug
Latest version of dredd (v14) generates an error message that was not generated with dredd v12 against OpenAPIv2 object definition referencing a float.
The following error is displayed:
error: Error: unknown format "float" is used in schema at path "#/definitions/Foo/properties/priority"
at Object.format [as code] (/project/node_modules/gavel/build/index.js:3:68605)
at Object.at [as validate] (/project/node_modules/gavel/build/index.js:3:33112)
at Object.properties [as code] (/project/node_modules/gavel/build/index.js:3:85456)
at Object.at [as validate] (/project/node_modules/gavel/build/index.js:3:33112)
at Object.$ref [as code] (/project/node_modules/gavel/build/index.js:3:56033)
at Object.at [as validate] (/project/node_modules/gavel/build/index.js:3:31656)
at Object.items [as code] (/project/node_modules/gavel/build/index.js:3:74814)
at Object.at [as validate] (/project/node_modules/gavel/build/index.js:3:33112)
at Object.properties [as code] (/project/node_modules/gavel/build/index.js:3:85456)
at Object.at [as validate] (/project/node_modules/gavel/build/index.js:3:33112)
at Object.properties [as code] (/project/node_modules/gavel/build/index.js:3:85456)
at at (/project/node_modules/gavel/build/index.js:3:33112)
at P (/project/node_modules/gavel/build/index.js:3:35247)
at ya.e (/project/node_modules/gavel/build/index.js:3:34914)
at ya._compile (/project/node_modules/gavel/build/index.js:3:112414)
at ya.validate (/project/node_modules/gavel/build/index.js:3:109157)
Describe the bug
Latest version of dredd (v14) generates an error message that was not generated with dredd v12 against OpenAPIv2 object definition referencing a float.
The following error is displayed:
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: