-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from Suraj3620/unionfix
Updated test logic and provided fix for unions and related issues
- Loading branch information
Showing
60 changed files
with
1,563 additions
and
92 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"properties": { | ||
"bool_field": { | ||
"title": "Bool Field", | ||
"type": "boolean" | ||
}, | ||
"float_field": { | ||
"title": "Float Field", | ||
"type": "number" | ||
}, | ||
"int_field": { | ||
"title": "Int Field", | ||
"type": "integer" | ||
}, | ||
"none_field": { | ||
"title": "None Field", | ||
"type": "null" | ||
}, | ||
"string_field": { | ||
"title": "String Field", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"string_field", | ||
"int_field", | ||
"float_field", | ||
"bool_field", | ||
"none_field" | ||
], | ||
"title": "BasicTypes", | ||
"type": "object" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"$defs": { | ||
"Category": { | ||
"properties": { | ||
"name": { | ||
"title": "Name", | ||
"type": "string" | ||
}, | ||
"subcategories": { | ||
"items": { | ||
"$ref": "#/$defs/Category" | ||
}, | ||
"title": "Subcategories", | ||
"type": "array" | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"subcategories" | ||
], | ||
"title": "Category", | ||
"type": "object" | ||
} | ||
}, | ||
"$ref": "#/$defs/Category" | ||
} |
Oops, something went wrong.