-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`resolve_ref` needs to be called on the root schema because that's where all the `resources` are stored. The behavior here is kind of confusing because the ref is resolved just like the `$ref` keyword would be in the schema, so it's dependent on the schema's base URI. That means for a subschema `ref('#')` doesn't necessarily resolve to itself (ie, if the subschema doesn't have `$id`).
- Loading branch information
1 parent
be45f04
commit e5ca2b1
Showing
3 changed files
with
19 additions
and
2 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
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
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