-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added additional tests for new changes
- Loading branch information
1 parent
8d63dc1
commit 61f5243
Showing
13 changed files
with
327 additions
and
59 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,83 @@ | ||
{ | ||
"name": "Duplicate", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "AvroWriteTime", | ||
"doc": "The timestamp when this avro data is written. Useful for identifying the newest row of data sharing keys.", | ||
"type": "long", | ||
"logicalType": "timestamp-millis" | ||
}, | ||
{ | ||
"name": "AvroDeleted", | ||
"doc": "This is set to true when the Avro data is recording a delete in the source data.", | ||
"default": false, | ||
"type": "boolean" | ||
}, | ||
{ | ||
"name": "height", | ||
"namespace": "Basic", | ||
"type": [ | ||
"null", | ||
"long" | ||
] | ||
}, | ||
{ | ||
"name": "visible", | ||
"namespace": "Basic", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
{ | ||
"name": "width", | ||
"namespace": "Basic", | ||
"type": [ | ||
"null", | ||
"double" | ||
] | ||
}, | ||
{ | ||
"name": "caption", | ||
"namespace": "OneOfType", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "credit", | ||
"namespace": "OneOfType", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "cutline", | ||
"namespace": "OneOfType", | ||
"type": [ | ||
"null", | ||
"string" | ||
] | ||
}, | ||
{ | ||
"name": "datePhotoTaken", | ||
"namespace": "OneOfType", | ||
"type": { | ||
"type": "long", | ||
"logicalType": "timestamp-millis" | ||
} | ||
}, | ||
{ | ||
"name": "orientation", | ||
"namespace": "OneOfType", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "type", | ||
"namespace": "OneOfType", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "anotherField", | ||
"type": [ | ||
"null", | ||
"string" | ||
] | ||
} | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
generate/generate_test_data/generated/complex_no_nested.go
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "./basic.json" | ||
} | ||
], | ||
"oneOf": [ | ||
{ | ||
"$ref": "./subtype.json" | ||
} | ||
] | ||
} |
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,16 @@ | ||
{ | ||
"additionalProperties": false, | ||
"description": "basic", | ||
"type": "object", | ||
"properties": { | ||
"aField": { | ||
"type": "string" | ||
}, | ||
"bField": { | ||
"type": "integer" | ||
}, | ||
"cField": { | ||
"type": "boolean" | ||
} | ||
} | ||
} |
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,18 @@ | ||
{ | ||
"additionalProperties": false, | ||
"description": "subtype", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "./subtypeAllOf.json" | ||
} | ||
], | ||
"properties": { | ||
"gField": { | ||
"type": "string" | ||
}, | ||
"hField": { | ||
"type": "string" | ||
} | ||
} | ||
} |
Oops, something went wrong.