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
I've tried loading two different OpenAPI json schemas and failed both times.
With OpenAPI schema 3.0.x (2019-04-02) i've get unexpected exception "type must be number, but is boolean" when executing set_root_schema
With OpenAPI schema 3.1 (2020-12) set_root_schema completed without errors, but the subsequent validation was always successful and even in the case of incorrect json.
I am trying to use the MNX schema (2020-12) and it is blowing up on set_root_schema as well. But the README says it supports draft-07. Is the README out of date, or has this repo fallen behind the schema drafts? Is 2020-12 even supposed to work?
Everything is working great for me now with #338 -- and after I started passing nlohmann::json_schema::default_string_format_check as the 2nd arg to the constructor.
Can @navrocky and @rpatters1 confirm that #338 fixes their issues so that this issue can be closed?
I've tried loading two different OpenAPI json schemas and failed both times.
set_root_schema
set_root_schema
completed without errors, but the subsequent validation was always successful and even in the case of incorrect json.Here is a sample project with errors: github.com/navrocky/cpp-json-schema-validation-errors
The text was updated successfully, but these errors were encountered: