forked from OpenAPITools/openapi-generator
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 master #29
Merged
Merged
merge master #29
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
* update gradle to 7.2 * update samples * use gradle-7.2-bin.zip instead
* add an option to customize gradle properties * add more info to gradle.properties
To avoid this warnings while running rspecs ``` WARNING: `Faraday::Connection#basic_auth` is deprecated; it will be removed in version 2.0. While initializing your connection, use `#request(:basic_auth, ...)` instead. See https://lostisland.github.io/faraday/middleware/authentication for more usage info. ```
* Fix deprecation warning for Faraday * test only ruby * Revert "test only ruby" This reverts commit 2ca650e.
* Update users.yml Elastic Email is using OpenAPI Generator for it's client libraries * Elastic Email logo Co-authored-by: radzaw <radoslaw.zawartko@elasticemail.com>
Co-authored-by: Mickael MAGNIEZ <mmagniez@veepee.com>
* Add .circleci/config.yml * Add the property exposeResponseHeaders to feign client This new property indicates if the feign client should expose the response headers on the API class. * Generate new docs for exposeResponseHeaders additional property * Rename HeaderAwareResponse to HttpResponse * Update samples * Refactor the implementation to use the same approach as the c# generator. Creates a new feign operation with the suffix WithHttpInfo, this operation returns the response encapsulated in a HttpResponse class. The HttpResponse class contains the decoded body and the response headers * Refactor the implementation to use the same approach as the c# generator. Generate samples * Refactor the implementation to use the same approach as the c# generator. Generate docs * Use Void instead of void for HttpResponse parameterized type
* fail fast, add path * include more samples for testing * remove path to trigger build * Revert "remove path to trigger build" This reverts commit c7f4c0a. * remove samples
Co-authored-by: rpruvost <rpruvost@ITEM-S78402.emea.msad.sopra>
…when discriminator is needed (#10557) * Import the auto generated supporting JSON class only when discriminator is needed * Generate samples again
fix Java RestTemplate ApiClient not handling ApiKey in cookie.
…fault value. (#10551) * added allowDefaultValue flag for conditionSerialization * update doc * club the allowDefaultValue flag with ConditionSerialzation. * fixed the tabs space. * fixed the tabs space. * fixed the tabs space. * update samples, docs Co-authored-by: William Cheng <wing328hk@gmail.com>
Signed-off-by: Nick Ufer <nick@ufer.dev>
* Improve templates for C++ Restbed The templates now generate classes which have virtual functions that can be overridden to implement handlers. * Fix missing HTTP methods in generated restbed C++ code There was a wrong handling of "x-codegen-other-methods". Change-Id: If6526d2672434beb5ebb0871d84cb80d84c34c38
…he (#10521) same time Co-authored-by: Jens Gersdorf <jens.gersdorf@telekom.de>
* Update Qt cpp readme * update sample * Update indentation and codeblocks * More cleanup of duplicate/dead content
…ead of 1/0 (#10554) * 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. * Fix a bug in cpprest-sdk generator (Issue #8450) * Fix a bug in cpprest-sdk generator (Issue #8450) * Fix a bug in cpprest-sdk generator (Issue #8450) * Revert "Fix a bug in cpprest-sdk generator (Issue #8450)" This reverts commit 7d8f842. * Fix a bug in cpprest-sdk generator (Issue #8450) * A new overloaded version of parameterToString method is added to the ApiClient class (mustache file) of cpp-rest-sdk-client generator. This new overload accepts bool value and is added to serialize bool values as boolapha instead of integer representation. * A new overloaded version of parameterToString method is added to the ApiClient class (mustache file) of cpp-rest-sdk-client generator. This new overload accepts bool value and is added to serialize bool values as boolapha instead of integer representation.
…encies (#10544) * Move verion properties to main pom.xml * Sort properties and remove duplicates * Use properties for known versions * Deduplicate versions of maven plugins * Deduplicate wagon dependencies * Deduplicate maven targer and source properties * Explicitly set testng version * Remove property used once * Sort lines * Standardise name of maven version properties * Upgrade maven-surefire-plugin * Comment out jackson-datatype-jsr310 * Comment out com.fasterxml.jackson.core:jackson-core:jar:2.10.2:compile * Remove commented out dependencies * Rename maven param name * Remove org.hamcrest:java-hamcrest:jar:2.0.0.0:test * Bump jacoco * Upgrade guava, replace deprecated or removed api with vanilla java * Bump jmustache.version * Bump jackson.version * Bump jackson.version and mockito * Bump testng * Bump wagon-ssh-external.version * Downgrade jmustache * Bump spring boot version and add junit * Bump maven in wrapper * Bump apache libs * Bump dependencies * Revert checkstyle bump
* Fix import for new spring boot version #8561 * Add new versions * Fix samples * Remove unused dependencies * Revert "Remove unused dependencies" This reverts commit bdac08b. * Add version * Fix version * Add hystrix note this depcreated * Migrate to Junit5 * Trigger build * Add junit5 * Upgrade to new hystrix starter * Try to enable hystrix * Remove hystrix and upgrade to boot 2.5.5 * Remove hystrix * Revert yaml * Remove hysterix * Trigger build * Update docu * use 4-space instead of tabs * remove HystrixCommand * add back spring-cloud test with oas 3.0 spec * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
* [cpprestsdk] fix string conversion * Support number enums
* first check import mappings before defaulting to model import * respect primitive types when generating serializes, these can still be models if passed via generator args
* Update Kotlin Version to 1.6.0-M1 Update Multiplatform Plugin to 1.6.0-M1 Update Gragle to 7.2 Update AGP to 7.0.2 Update samples accordingle Resolve: #10467 * Removes local.properties from kotlin-multiplatform petstore client, that was accidentally added * Use the latest kotlin stable version 1.5.31 * update samples Co-authored-by: William Cheng <wing328hk@gmail.com>
* add spotless maven plugin * add spotless gradle plug-in * add spotless version
* add bunker-holding logo * add spotless plugin to jersey2 java client * add spotless plugin to java jersey2 client * use jdk11 in gradle tests * fix gradle test local spec * setup java 11 * skip spotless in check task
* #10056 Fix relative url as basePath * Add tests handle relative urls in servers * PR Task: * replace tabs with spaces * can `servers` be null or empty? * PR Task: fix empty line tab * Update DefaultGenerator.java Fix lines change tabs to spaces * Fix tabs spaces Co-authored-by: Denis Behrends <d.behrends@hosting.de>
* Replace explicit <Type> with <> * Remove redundant toString() calls on String * Use StandardCharsets.UTF_8 instead "UTF-8" string * Simpler annotation format and redundant this * Dont concat on empty String, use String.valueOf() * Dont run equals on empty String * Use string.anyMatch instead counting * Collection add all instead iterating and adding * Replace string contact with append chain in stringBuilders
Motivation: Remove useless warnings for webclient and resttemplate
* curl with form data * fix type * update bash readme * typo * update sample * add test for form data * update
* Fix breaking regression introduced by #10432 This change forgot enum structures, which causes the compiler to throw errors for "the trait `Default` is not implemented for MyEnum". This change implements the Default trait to the enum template. * fix: add Default for type enums
* fix(cpp-pistache-server): meson/cmake build * fix(cpp-pistache-server): Upgrade to C++17 and use std::optional * feat(cpp-pistache-server): Disable running tests during build of nlohmann/json * feat(samples): Update server/petstore/cpp-pistache
* Reuse URLSession with same configuration resolve #8562 * Add typealias for taskDidReceiveChallenge closure type * Add generated sample code
* [GO]: dont canonize headers * [GO]: update unit tests
* [Java] deserialize to LinkedHashSet when unique items * [Java] fix deserialization of readonly properties * [Java] deserialize to LinkedHashSet when unique items
* [Java] fix deserialization of readonly properties * [Java] fix deserialization of readonly properties * [Java] fix deserialization of readonly properties * [Java] fix deserialization of readonly properties
…10183) * Oauth class with reply server for authorization flow * multiple scopes. Joined with space seperator * some refactoring, using urls from the spec * added implicit flow. Refactored oauth classes. * added missing {{prefix}} to Oauth class * added client credentials flow * added password flow. setVariables for each class * Refactored variables to fit style. Updated Samples
* surpress serial warning * better docstrings in api client java class
* #10199: Extract from generated function per operation one that returns headers and other info * add autogenerated output * fix suspend generation * fix return statement generation for coroutine variant
* Implement cancellation of URLSession requests for Combine & RxSwift resolve #8658 * Add generated sample code * Add request cancellation for alamofire library and Result configuration * Add generated sample code * Add request cancellation for async await configuration * Add generated sample code
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.0),6.0.x