-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[Python-experimental] JSON schema 'null' type should be modeled as 'none_type' #6121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
489985d
Handle null type
sebastien-rosset c16089e
Handle null type
sebastien-rosset 26865b3
Handle null type. Add 'null' type in the OAS document for testing pur…
sebastien-rosset 48c310e
Handle null type. Add 'null' type in the OAS document for testing pur…
sebastien-rosset fddb63b
Handle null type. Add 'null' type in the OAS document for testing pur…
sebastien-rosset cf4e9f8
Handle null type. Add 'null' type in the OAS document for testing pur…
sebastien-rosset 3b59b47
Handle null type. Add 'null' type in the OAS document for testing pur…
sebastien-rosset b362f92
Handle null type. Add 'null' type in the OAS document for testing pur…
sebastien-rosset ae93643
improve documentation
sebastien-rosset f5acfba
Handle 'null' type
sebastien-rosset 6ba1523
Handle 'null' type. Add unit tests
sebastien-rosset de13169
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset 2a6a87a
Add NullType for go
sebastien-rosset 86bc4c0
Add NullType for go
sebastien-rosset 6b9c0ce
fix modeling of AnyType for go-experimental
sebastien-rosset b0d221e
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset a302894
execute scripts in bin directory
sebastien-rosset e449c82
resolve merge conflicts
sebastien-rosset 043f247
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset 1e14c94
Add review comments
sebastien-rosset 747803e
Add 'null' type in oneOf
sebastien-rosset aa06a89
Improve OAS YAML file for golang openapi3 samples
sebastien-rosset 543d406
'Any type' includes the null value, so 'isNullable' should be set to …
sebastien-rosset 81093c7
'Any type' includes the null value, so 'isNullable' should be set to …
sebastien-rosset 9a54ea1
Handle AnyType and NullType
sebastien-rosset dc7a7e0
handle anytype for go-experimental
sebastien-rosset ddc810c
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset 03ec914
Log warning instead of error
sebastien-rosset bdf3653
anyOf/oneOf
sebastien-rosset 9dbae45
Change x-golang-is-container extension to x-golang-has-wrapper
sebastien-rosset e1417ec
Add code comments
sebastien-rosset 480ecbe
Handle Object and any type
sebastien-rosset a58f121
Handle Object and any type
sebastien-rosset 01ff36e
Handle object and any type
sebastien-rosset ec97db3
add code comments
sebastien-rosset 431356c
handle additional properties
sebastien-rosset 93752ff
handle additional properties
sebastien-rosset 261dbcd
handle additional properties
sebastien-rosset aa6b6df
handle anytype and objecttype for go-exerimental
sebastien-rosset 90c0c9e
Move golang changes to a separate branch
sebastien-rosset f56c812
Move golang changes to a separate branch
sebastien-rosset b159356
Better names for the OAS document test properties
sebastien-rosset ef5149e
Move golang changes to a separate branch
sebastien-rosset 84162be
Run samples scripts
sebastien-rosset ee786cb
Run samples scripts
sebastien-rosset 058694b
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset 82cb0e9
fix unit test issues
sebastien-rosset 2c5c1cf
Handle none type
sebastien-rosset 0694f83
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset b6afbc6
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset f275dc9
Fix index out of range exception
sebastien-rosset 93cc8c8
fix formatting issues
sebastien-rosset 6939648
fix formatting issues
sebastien-rosset 8bdca05
fix formatting issues. Finally figured out how to check formatting in…
sebastien-rosset 4c01344
fix formatting issues
sebastien-rosset 537c28b
resolve merge conflicts
sebastien-rosset 71d550c
resolve merge conflicts
sebastien-rosset 11c52e4
resolve merge conflicts
sebastien-rosset e16c24e
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset 8f1c202
Merge branch 'master' of github.com:CiscoM31/openapi-generator into p…
sebastien-rosset 5e48c72
run samples scripts
sebastien-rosset File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -218,5 +218,6 @@ def _composed_schemas(): | |
'oneOf': [ | ||
apple_req.AppleReq, | ||
banana_req.BananaReq, | ||
none_type, | ||
], | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.