json_schema_tools
json_schema_tools copied to clipboard
Tools for building and handling a JSON Schema powered API's
Hello, I was reviewing this project. I was hoping that it would support a JSON file which contains references to itself. This is valid in JSON Schema, but it appears...
@VidurMalik added a change for nested objects, which are not present in the output json when nil: https://github.com/salesking/json_schema_tools/pull/19 Still need to handle the other field types: plain properties & nested...
Example: Directory Structure ``` SCHEMA_PATH/v1/child.json SCHEMA_PATH/v2/child.json SCHEMA_PATH/v2/parent.json ``` If `parent.json` references `v2/child.json`, the current implementation of `RefResolver::find_local_file_path` will return `v1/child.json` instead of the expected `v2/child.json`. It will also return `v1/child.json`...
You can try it with schemas from https://github.com/fidor/fidor_schema.