Commit Graph

3 Commits

Author SHA1 Message Date
dhmemi
2659e37831 fix: <nlohmann/json-schema.hpp> -> "nlohmann/json-schema.hpp"
Follow the c++ standard, the compiler will ignore local directories
when it searches files include with angle-brackets.
2022-06-06 10:53:19 +08:00
Guillaume G
32af07ce19
fix default is empty object (#123)
* fix default is empty object

* add counter check with no default or null
2020-06-29 15:20:07 +02:00
Sven Fink
cb95425f59 Add schema class that is aware of a default entry
Uses json patch format for defaults: json patch (RFC 6902) makes it
clearer in case of array contents. It is supported by nlohmann::json and
can be applied with `patch` to fill up the json with defaults.
2020-03-10 14:32:10 +01:00