-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows references that point to parent definitions (#39)
* Allows references that point to parent definitions * Introduces a `resolvedSet` structure to mark references that have been (or are currently being) resolved, to avoid infinite loops. * Resolves references eagerly before child elements are resolved. This is more in line with [the spec], which states that elements with `$ref` should be replaced entirely with the representation that they point to. [the spec]: https://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.28 * Bumps Go versions * cover is no longer required to be installed separately * All arguments to exported functions should also be exported
- Loading branch information
1 parent
3f28c7a
commit 30bb00e
Showing
7 changed files
with
143 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
language: go | ||
go: | ||
- 1.2 | ||
- 1.3 | ||
install: go get code.google.com/p/go.tools/cmd/cover | ||
- 1.7 | ||
- 1.8 | ||
script: go test -race -cover ./... |
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
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