-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend reference handling to support properties
Previously, json-schema-to-nickel was only able to handle local references to top-level definitions, that is references of the form "#/definitions/xxx`. This commit is a first step toward handling references to local properties as well, of the form `#/properties/foo/properties/bar/properties/baz`. Doing so, we also rework the way top-level definitions are handled as well, for better uniformity and to reduce the size of generated contracts (we use to include all definitions by default, while this change pushes toward recording which ones are actually referenced, and keep only those).
- Loading branch information
Showing
3 changed files
with
279 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.