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
Refresh/11oct23: update from upstream #159
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
…#16213) * Add check for null JSON array in GSON Java api client * Update samples
* fix data type in python client codegen * add model mapping feature
…nkedHashMap being returned instead of maped object to POJO (OpenAPITools#16293)
Co-authored-by: Aniruddh <[email protected]>
* Add dart example * Run `./bin/generate-samples.sh ./bin/configs/other/html2.yaml`
* Update servers.mustache add hasOwnProperty checking; use const instead of var * use 4 spaces instead of tabs
* fix replacing dollar sign * try to add tests add list import add missing imports import OpenAPI fix import ? fix import? rename methods test test fix test python test fix fix?? fix?? --------- Co-authored-by: Joshix-1 <[email protected]> Co-authored-by: Joshix-1 <[email protected]>
* OpenAPITools#15131 Issue: Tempfile is not deleted * delete tempfile in go client --------- Co-authored-by: Aniruddh <[email protected]>
* feat(swift5): allow to swift build in linux * chore(ci): add .github/workflows/samples-swift.yaml * feat(swif5): bump Alamofire to 5.7.0 * chore(ci): run in macos all swift sample clients
* Fix Retrofit template with Jackson (Fix OpenAPITools#8147) This commit amends the `ApiClient` template for Retrofit. It fixes a bug where the Retrofit client uses Jackson as the serialization library. Until now, the `ApiClient` could not be compiled when using the Jackson library (default in SpringBoot applications), as the constructor of the class had the following parameter: `private val serializerBuilder: Builder = Serializer.Builder,` The change done in the commit, is to ensure that in case of Jackson, the right property of the `Serializer` class is assigned * Add sample code for `kotlin-jvm-jackson` This commit adds a sample code for the `kotlin-jvm-jackson` generated code to test the changes on CI * Update kotlin code samples for CI This commit only runs the command `bin/generate-samples.sh bin/configs/kotlin-*` to ensure that all code samples are up-to-date and CI can pass successfully.
* fixed operation nested return type * more robust fix
… BluePlanet (OpenAPITools#16249) * Remove trailing underscore in security_controller_.py and base_model_.py * Regenerating sample files * Clean-up files with trailing underscore in samples * Update security extension to use the new security_controller * Regenerate unmaintained samples
This commit adding SumUp into the list of companies that are using OpenAPI Generator. Co-authored-by: Yonatan Karp-Rudin <[email protected]>
This commit only updates the sumup logo to the latest logo Co-authored-by: Yonatan Karp-Rudin <[email protected]>
* fixed model property data type * build samples
…nerator (OpenAPITools#16326) * [Java][WebClient] support string list return type * [Java][WebClient] add test * [Java][WebClient] support string list return type * [Java][WebClient] support string list return type * fix webclient auto-generated test files --------- Co-authored-by: Gavin.Wu <[email protected]>
…enAPITools#16327) * [kotlin-multiplatform] add enum parameter support * [kotlin-multiplatform] update generated samples
… vendor extension x-spring-provide-args (OpenAPITools#16663) * add vendor extenstion x-spring-provide-args * add vendor extenstion x-spring-provide-args * Revert "add vendor extenstion x-spring-provide-args" This reverts commit 8a0cbc9. * catch up latest main and re-generate samples * remove un-used import * add vendor extenstion x-spring-provide-args (OpenAPITools#16054,OpenAPITools#15088) * update X_SPRING_PROVIDE_ARGS for better description --------- Co-authored-by: xiangxi.chen <[email protected]>
* added isTyphoeus property to remove negations on isFaraday * adding httpx support as alternative library for ruby client * updated samples
* bug fixes based on report * fix
…ITools#16736) Co-authored-by: Aanisha Mishra <[email protected]> Co-authored-by: Vikrant Balyan (vvb) <[email protected]> Co-authored-by: Vikrant Balyan <[email protected]> Co-authored-by: Sebastien Rosset <[email protected]>
* minor fix to return type * use returnProperty
* upgrade spring-boot-starter-parent * upgrade springdoc and swagger-ui * upgrade v3 swagger-annotations * generate samples * upgrade jackson * fix spring cloud, remove temp comment Putting "8" instead of "1.8" should be ok, because Spring Boot 3 requires Java 17 anyway, so it should be able to understand that 8 is the same as 1.8. * generate samples * upgrade JUnit 5, remove commons-io dependency, remove outdated samples/client/petstore/java/feign/feign10x/ files, generate samples commons-io dependency was introduced in OpenAPITools#8484, but I don't see why it would be needed now or back then. * update gson, generate samples * update logback * update feign * update scribejava * generate samples * update httpmime * okhttp-gson: update commons-lang & okhttp & junit-platform, remove mockito; generate samples It seems Mockito is not used at all there. * okhttp-gson: remove unnecessary sample files, generate sample files * upgrade google-api-client & jersey-common, restore ClientTest, generate samples * misc. upgrades in jersey2 and jersey3 jersey 3.1.3 is available already, but IntelliJ reports security problems in 3.1.3 and 3.1.2, so I used 3.1.1 instead. * align some gradle&sbt files with poms, generate samples * whitespace fix
* update ruby httpx petstore test * fix pom * comment out ruby httpx tests
* fix setup of body params (may be nil) * fix httpx adapter issues treating DNS resolution errors as ConnectionFailed; removing multipart header set by the openapi-generated code, as it does not contain boundary, and interferes with the generation from httpx, which appropriately deals with mime-types already
The current log statement prints "%s", updating to properly include the parameter
…rsAndRequiredVarsPresent (OpenAPITools#16751)
…nAPITools#16745) * Avoid ClassCastException when getting headers (the header values are Collection<String> and not List<String>) Delete unused classes * Remove feign10x * Add unit test Refactor to avoid creating the headers map when ApiResponse is not used
* test: Tests for enum params in path, query and header * fix: Get enum ref values correctly in path parameters Closes OpenAPITools#16688 * fix java tests failure --------- Co-authored-by: William Cheng <[email protected]>
It was often confusing to me why this method is even there. Also using more line breaks and matching how black would format this.
…6779) * test: Add two extra models for testing * Fix unnamed dicts with additional properties Closes OpenAPITools#16630
…6776) * refactor: Use newlines in _with_http_info call This prevents too-long lines and matches the style that black would enforce. * fix: Do not pydantic-validate function args twice Closes OpenAPITools#15757
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
(6.3.0) (minor release - breaking changes with fallbacks),7.0.x
(breaking changes without fallbacks)