-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
105 changed files
with
963 additions
and
1,461 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
// Represents an any value which allows any kind of value | ||
type AnyPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
Type string `json:"type"` | ||
} | ||
|
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,9 +1,9 @@ | ||
|
||
// Represents an array which contains a dynamic list of values of the same type | ||
type ArrayDefinitionType struct { | ||
Description string `json:"description"` | ||
Schema *PropertyType `json:"schema"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Schema *PropertyType `json:"schema"` | ||
Description string `json:"description"` | ||
} | ||
|
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,10 +1,10 @@ | ||
|
||
// Represents an array which contains a dynamic list of values of the same type | ||
type ArrayPropertyType struct { | ||
Description string `json:"description"` | ||
Schema *PropertyType `json:"schema"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
Schema *PropertyType `json:"schema"` | ||
} | ||
|
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,9 +1,9 @@ | ||
|
||
// Represents a boolean value | ||
type BooleanPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
} | ||
|
2 changes: 1 addition & 1 deletion
2
tests/Generator/resource/go/complex/collection_definition_type.go
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,9 +1,9 @@ | ||
|
||
// Base collection type | ||
type CollectionDefinitionType struct { | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Schema *PropertyType `json:"schema"` | ||
} | ||
|
4 changes: 2 additions & 2 deletions
4
tests/Generator/resource/go/complex/collection_property_type.go
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,10 +1,10 @@ | ||
|
||
// Base collection property type | ||
type CollectionPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
Type string `json:"type"` | ||
Schema *PropertyType `json:"schema"` | ||
} | ||
|
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,8 +1,8 @@ | ||
|
||
// Base definition type | ||
type DefinitionType struct { | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
} | ||
|
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,10 +1,10 @@ | ||
|
||
// Represents a generic value which can be replaced with a dynamic type | ||
type GenericPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
Type string `json:"type"` | ||
Name string `json:"name"` | ||
} | ||
|
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,9 +1,9 @@ | ||
|
||
// Represents an integer value | ||
type IntegerPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
} | ||
|
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,9 +1,9 @@ | ||
|
||
// Represents a map which contains a dynamic set of key value entries of the same type | ||
type MapDefinitionType struct { | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Schema *PropertyType `json:"schema"` | ||
} | ||
|
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,10 +1,10 @@ | ||
|
||
// Represents a map which contains a dynamic set of key value entries of the same type | ||
type MapPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
Type string `json:"type"` | ||
Schema *PropertyType `json:"schema"` | ||
} | ||
|
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,9 +1,9 @@ | ||
|
||
// Represents a float value | ||
type NumberPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
} | ||
|
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,9 +1,9 @@ | ||
|
||
// Base property type | ||
type PropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
Type string `json:"type"` | ||
} | ||
|
4 changes: 2 additions & 2 deletions
4
tests/Generator/resource/go/complex/reference_property_type.go
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
|
||
// Base scalar property type | ||
type ScalarPropertyType struct { | ||
Description string `json:"description"` | ||
Type string `json:"type"` | ||
Deprecated bool `json:"deprecated"` | ||
Description string `json:"description"` | ||
Nullable bool `json:"nullable"` | ||
Type string `json:"type"` | ||
} | ||
|
Oops, something went wrong.