forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests for go oenof datetime (OpenAPITools#13713)
- Loading branch information
Showing
8 changed files
with
198 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
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
30 changes: 30 additions & 0 deletions
30
samples/openapi3/client/petstore/go/go-petstore/docs/OneOfPrimitiveTypes.md
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,30 @@ | ||
# OneOfPrimitiveTypes | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
|
||
## Methods | ||
|
||
### NewOneOfPrimitiveTypes | ||
|
||
`func NewOneOfPrimitiveTypes() *OneOfPrimitiveTypes` | ||
|
||
NewOneOfPrimitiveTypes instantiates a new OneOfPrimitiveTypes object | ||
This constructor will assign default values to properties that have it defined, | ||
and makes sure properties required by API are set, but the set of arguments | ||
will change when the set of required properties is changed | ||
|
||
### NewOneOfPrimitiveTypesWithDefaults | ||
|
||
`func NewOneOfPrimitiveTypesWithDefaults() *OneOfPrimitiveTypes` | ||
|
||
NewOneOfPrimitiveTypesWithDefaults instantiates a new OneOfPrimitiveTypes object | ||
This constructor will only assign default values to properties that have it defined, | ||
but it doesn't guarantee that properties required by API are set | ||
|
||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
149 changes: 149 additions & 0 deletions
149
samples/openapi3/client/petstore/go/go-petstore/model_one_of_primitive_types.go
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
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