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?