forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Merge upstream code to master #42
Merged
Merged
Conversation
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
…ode to set default values of model schema (OpenAPITools#10136) * BUG FIX: A missing semicolon in cpp-pistache-server generated code. * BUG FIX: Provide default values of schema in cpp-pistache-server generated code. * BUG FIX: Provide default values of schema in cpp-pistache-server generated code.
…PITools#5813) (OpenAPITools#10081) * Bug OpenAPITools#5813 : As "deserialize_date" and "deserialize_datetime" are used outside of "deserialize_model", we should check 'None' value before parsing string. * Bugfix 5813 : Update samples and docs
OpenAPITools#10147) * respect the nullable flag for all parameters (except path params where this is not allowed) * generate default values for header and query parameters that are not collections * we can not handle default values for collection with built_value atm. (not const) * we can not handle default values for form/body parameters atm. as those can be enums which we can not construct easily
…OpenAPITools#9840) The skipIfSpecIsUnchanged did not work when the input spec came from a classpath resource, which could lead to infinite build loops when the plugin was used in eclipse OpenAPITools#5805
* - new PHP client generator php-dt * - samples regen after rebase * - README update * - fix missing options for php-dt-modern config * - use another workaround to prevent special treatment of form media types in DefaultGenerator - GlobalSettings usage mangled behaviour of other generators - fix of missing spaces in generated docs * - samples update after rebase
* Create initial version of openapi micronaut generator * Update validation, authorization, query parameters and time format * Move micronaut to its own generator * Add micronaut documentation * Refactor and add tests to JavaMicronautClientGenerator * Refactor model mustache for micronaut client * Refactor model enum and pojo mustache files for micronaut client * Move micronaut client generation to micronaut 3.0.0-M5 version * Generate samples for micronaut client * Add hidden files of generated samples for micronaut client * Add and configure micronaut tests as maven profile * Add option to choose between junit and spock for micronaut client generator * Add tests for micronaut 'build' and 'test' options; regenerate micronaut samples
* mark java micronaut generator as beta * update doc
…nAPITools#10152) * adds memoization to speed up csharp code generation * takes care of review comments * memoize adds to toModel for Go generator as well Co-authored-by: Aanisha Mishra <[email protected]>
* prepare for 5.2.1 release * update samples
…penAPITools#8269) * refactor: improve additionalModelTypeAnnotations generation Split by ';' and/or newline Trim value fix: OpenAPITools#7032 Run ./bin/generate-samples.sh to regenerate model files Revert "Run ./bin/generate-samples.sh to regenerate model files" This reverts commit da509c39f363da046fbd457e1ab67ef0f62f3561. refector: remove unnecessary import test: multiples tests for AdditionalModelTypeAnnotations Add a getter to test the list refactor: remove duplicate AdditionalModelTypeAnnotations Without using Set to avoid any side effect somewhere, I use stream and distinct to avoid duplicates refactor: using Set instead of stream Remove stream distinct for performance reason, use newHashSet Keep AdditionalModelTypeAnnotations as List doc: update info additionalModelTypeAnnotations refactor: move doc in code for autogen style: tab in java class doc: run ensure-up-to-date refactor: add imports lost in rebase docs: regenerate docs docs: update * fix: docs
…ITools#10163) Fixes a bug introduced in OpenAPITools#10147
* Add map property in request params * Regenerate samples to include map in url property
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868 Merge: 8c4991b f8ff8c8 Author: William Cheng <[email protected]> Date: Tue Aug 17 18:28:12 2021 +0800 Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting commit f8ff8c8 Author: Nathan Baulch <[email protected]> Date: Thu Aug 5 14:12:47 2021 +1000 Reorder tags that handle missing values commit f5d8a33 Author: Nathan Baulch <[email protected]> Date: Thu Aug 5 14:08:59 2021 +1000 Use dot notation where possible commit 493d149 Author: Nathan Baulch <[email protected]> Date: Thu Aug 5 14:10:49 2021 +1000 Remove empty tags commit 32480dc Author: Nathan Baulch <[email protected]> Date: Thu Aug 5 10:41:58 2021 +1000 Remove redundant sections commit a8edabd Author: Nathan Baulch <[email protected]> Date: Wed Aug 4 22:02:22 2021 +1000 Trim extra EOF new lines commit e89bd74 Author: Nathan Baulch <[email protected]> Date: Wed Aug 4 21:59:26 2021 +1000 Trim trailing whitespace
…tor into refresh/master
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
,5.3.x
,6.0.x