forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sync with latest openapi master #1
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
* PR7500 * update samples Co-authored-by: William Cheng <[email protected]>
…7527) * fix: correct handling of customHeaders Problem: custom headers could be overwritten between request retries following, e.g. a token refresh ( for example, while implementing @4brunu refresh code : #5462 (comment) ). A simple reordering of the modifiedRequest headers construction solves the problem. * fix: correct PetStore samples implementation [PR#7527] Co-authored-by: Franz Marini <[email protected]>
* add server url without variables to the test spec * fix php tests * fix tests * fix assertion
Co-authored-by: Lucas Chwe <[email protected]>
swagger-parser has the potential to return null for messages which will throw NPE on initialization of the validationMessages hashset. rather that allow this to happen we will assume that a null message collection represents an empty collection and continue. Fixes #7453
* Update RetryConfiguration.mustache Use Policy<> instead of RetryPolicy<> to allow for use of wrapped policies. * update samples Co-authored-by: William Cheng <[email protected]>
…ment (#7424) * [Python-experimental] Don't mandate passing in required value as argument * Remove usage of have_value * Address additional review comments * Fix tests according to the code change * Does not set None as value initial value, removes hasRequired tag usage, updates docstring Co-authored-by: Justin Black <[email protected]>
* add test for serialization of special propery name * comment out os dependent test
…aginated (#5022) Co-authored-by: Mathias Hinterndorfer <[email protected]> Co-authored-by: Mathias Hinterndorfer <[email protected]> Co-authored-by: Jim Schubert <[email protected]>
* More fixes to go doc generation * Regenerate samples * Fix indent * Remove additonal bracket on time objects
* Remove links to basic types in java API docs This removes (most) wrong links to basic types in Java API docs. * Regenerate some more samples
* Correct allOf with only one child schema (no discriminator * fix tests
* add isRange * undo changes to spec
…cond precision (#7943) * [php] Fixes problems with API's with too high date-time nanosecond precision * update samples Co-authored-by: William Cheng <[email protected]>
* [ruby] fix oneOf handling * use previous ruby configs due to issue #4690 * check for oneOf model in base_object * validate the attributes in partial_oneof_module
…7877) Also fix display of minimum/maximum comment.
* Allows install typescript client via npm from Git 'prepublishOnly' is run before the package is published. 'prepack' is run before the package is published and after installation local installation eg. via Git. * Update examples for Typescript
… there are defaultValues defined (#7872) * Update headerParams if there are defaultValue * remove new line Co-authored-by: William Cheng <[email protected]>
…tion for individual CodeGens to specify a collectionFormat (#7914) * updated samples as well
* Expose JsonSerializerSettings in ApiClient * Update generated petstore sample * Add XML comments for SerializerSettings and match new OverrideSpecifiedNames default * Add GetSerializerSettingsTest
* Fix list examples in python When a model has an example in an array, it wrongly wraps it again in a list instead of returning the list examples. This fixes it. * Add comment
* Add basic types imports to generated examples This adds an extension to include basic types imports to generated Java examples. * Make some fixes to example generation * Generate OffsetDatetime correctly * Create a useful sample for enums, regenerate samples * Fix BigDecimal as well
* [JAXRS-CXF] Introduce petstore sample for jaxrs-cxf-client with additional property jackson (preparational commit) generated using: ./bin/generate-samples.sh ./bin/configs/other/jaxrs-cxf-client-jackson.yaml * [JAXRS-CXF] Generate missing jackson annotations in inner enum fix for generators jaxrs-cxf and jaxrs-cxf-client
The patch in #7967 forgot the prefix, this fixes it, and change the sampels so that we can see the effect this time.
#7864) * fix async in java play generator * add async operation option * Remove the return null and replace with a return at the right place. Co-authored-by: Jean-François Côté <[email protected]>
* first commit of api Key feature. * added multi key and URL query key support * fixed error in mustache files, updated samples and tests * added Basic Auth with Base64 encoding. * updated Readme, added bearer token * added check that authentication credentials are set. fixed typo in README
…mal if model is declared with float/double (#8043)
Those are not primitive types, but not model either, they need to be handled explicitely.
When the value is not in the enum, the exception will now include the actual value, helping spec designers.
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
./bin/generate-samples.sh
to update all Petstore samples related to your fix. 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