Nikita Karnaukh
d657e95021
[Kotlin][Client] Added Kotlinx Serialization for JVM/Retrofit2/OkHttp3&4 ( #6916 )
...
* Added supporting kotlin.serialization for jvm
* Added Serializable annotations for java types(date,time,url,uri etc.)
* Added SafeEnumSerializer
* Added StringBuilderAdapter for kotlin.serialization
Fix adapter naming
Fix Retrofit ApiClient.kt for kotlin.serialization
* Added StringBuilderAdapter for kotlin.serialization
* Switch sample to retrofit2-kotlin-serialization
* Add sample for retrofit2-kotlin.serialization
* update sample
* update sample
* update sample #3
* Fix enum quotes for kotlin.serialization
* update samples
* update pom.xml
* add pom.xml to child module
* fix kotlin-multiplatform freeCompilerArgs
* refactoring, add useSafeEnum option, remove safeEnum for kotlin.multiplatform
* update kotlin samples
* fix import kotlinx.serialization.Required
* Update kotlinx.serialization 1.0.0-rc-2, kotlin 1.4.10, retrofit-kotlinx-converter 0.7.0
* Update gradle wrapper 6.7-rc-3
* fix SafeEnum import
* fix Json initialization,
fix SafeEnumSerializer
* update samples
* update kotlinx.serialization to 1.0.0
* Update gradle to 6.7 in kotlin samples
* fixed adding @Contextual for collections with non-primitive type elements
* remove unused SafeEnum imports, refactored
* update kotlin readme
* update kotlin project template Readme.md
* update samples for kotlin
* simplify template for class properties
* remove @Contextual from kotlin-multiplatform
* update kotlin multiplatform dependencies
* refactoring templates
* revert all changes for multiplatform
* fix tests
* revert multiplatform #2
* update samples after merge, fix missed isListContainer->isArray
* fixed redundant space before @Contextual
* Fixed enum template, Class were missed in generated samples
* fix enum template toString value->serialName
* fixed isEnum case for collections
* update samples
* removed useSafeEnum option, kotlinx serialization has out of box approach with coerceInputValues option for same behavior
* generate samples
* update kotlinx.serialization 1.0.1
* update samples
* Added pom.mustache template for kotlin-client samples with fixed execution of gradle wrapper instead standalone installed gradle on CI
* update samples with new pom.xml
* reverted enum value property name
* fixed kotlin-multiplatform pom.xml
* update kotlin-threetenbp sample
* update kotlin-string sample
* update kotlin-string sample
* fix adding kotlinx.serialization classpath to build.gradle
* generate samples
* add supporting kotlinx_serialization kotlinx.serialization.Serializable with java.io.Serializable at the same time
* update retrofit2-kotlinx-serialization-converter:0.8.0
* update kotlinx_serialization sample with retrofit2-kotlinx-serialization-converter:0.8.0
* apply suggest from @blendthink
* added proguard-rules.pro file for kotlinx.serialization on Android projects
* fix pom.mustache
* update gradle wrapper to 6.8.3
* update kotlin samples
* fix kotlin readme template, update kotlin samples
* update kotlin samples
* update kotlin sample
delete petstore/kotlin unit tests
* revert deletion kotlin client tests
remove adding pom.xml to kotlin client samples
* add support kotlinx serialization for okhttp3/4
* update kotlin client samples
2021-03-19 18:12:23 +08:00
Ajith Kumar
9ea852d4df
[JAVA] [Spring] Conditionally importing spring pageable ( #8915 )
...
* [JAVA][SPRING] Making spring pageable import optional
* [JAVA][SPRING] Regenerating samples
* [JAVA][SPRING] Regenerating samples again
2021-03-18 00:03:31 +08:00
Peter Leibiger
d29d898774
[dart] Ensure tests compile with Dart 2.12+ ( #8984 )
2021-03-17 21:53:48 +08:00
Samuel Kahn
9ab3463144
[cpp-ue4] Added UE4.26 support, ( #8964 )
...
* [cpp-ue4] Fixed enum values not being quoted. I'm not sure when this started breaking.
* [cpp-ue4] UE 4.26 Compatibility: Replaced TSharedRef<IHttpRequest by FHttpRequestRef for better portability
* [cpp-ue4] Improved DateTime parsing
* [cpp-ue4] Made HttpFileInput constructors explicit
* [cpp-ue4] Added the possibility to retry requests easily with AsyncRetry method on the response and SetAutoRetryCount on the request
WIP auto retry
[cpp-ue4] Adds support for instant retry
* [cpp-ue4] Using TaskGraph instead of TaskGraphMainThread for async retries
* update samples
* remove trailing spaces
Co-authored-by: Jean-Noel Gourdol <jngourdol@stormancer.com >
Co-authored-by: William Cheng <wing328hk@gmail.com >
2021-03-17 17:50:42 +08:00
Sondre Eikanger Kvalø
4bfe13767f
[Kotlin] Upgrade jackson version used in the Kotlin client ( #8689 )
...
* Upgrade jackson version used in the Kotlin client #8688
* Generated project
* Remove spaces before import
* Add generated sample from previous commit
2021-03-17 12:18:52 +08:00
Hui Yu
f8842b04bb
[C-libcurl] Generate API and module documents automatically ( #8981 )
2021-03-16 13:37:25 +08:00
sunn
fcab51322e
[C++][Qt]Replace usage of QVariant with a more intuitive optional wrapper ( #8960 )
...
* Replace usage of QVariant with a more intuitive wrapper which also supports non standard types/classes
* Fix crash due to usage of object instead of reference
2021-03-15 18:56:20 +01:00
William Cheng
9d8494a89d
update samples
2021-03-15 22:55:36 +08:00
Oleh Kurpiak
cfe86d9594
[Java][Server] fix default value ( #8577 )
...
* [Java][Server] fix default value
* [Java][Server] fix default value
2021-03-15 21:25:48 +08:00
Markus Wandersee
fae4d7a73d
Fix for StackOverflow in Swift5 CodeGeneration Issue #8671 ( #8672 )
...
* StackOverflowFix for Issue 8671
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com >
2021-03-15 17:59:09 +08:00
William Cheng
5d7f1c1c88
[android][volley] various improvements ( #8968 )
...
* fix samples
* build succcessful in android studio
* fix deprecatation warnings
* update dependencies
* add new file
2021-03-15 17:53:33 +08:00
Adam Leventhal
15c3bf47a4
[Rust Client] several small fixes to code generation errors ( #8845 )
...
* fix cyclic types
* fixed up bad enum names
* fixed double crate:: issue
* add required ToString for enum classes
* Adds Debug/Clone derive macro for generated configuration type
* Updates versions of dependencies recorded in generated Cargo.toml
* fix merge
* bin/generate-samples.sh
Co-authored-by: Benjamin Naecker <bnaecker@fastmail.com >
2021-03-15 10:30:22 +08:00
William Cheng
abe64b7976
fix deprecation warnings ( #8969 )
2021-03-15 09:45:17 +08:00
Backfighter
ad603f44fb
[Java][webclient] Fix deprecation warning: BodyInserters.fromObject ( #8963 )
...
* Fix deprecation warning: BodyInserters.fromObject
See for more information #8553
* [Java][webclient] Upgrade to spring 5.2.13
2021-03-14 00:12:48 +08:00
William Cheng
4e2ece4b51
[Perl] minor improvements ( #8967 )
...
* update perl readme, test files
* update perl test files
* update readme
2021-03-13 21:48:00 +08:00
William Cheng
ed6a7e7656
better code format in C# netcore client ( #8939 )
2021-03-11 21:59:48 +08:00
agilob
b782cff511
[dart] Fix api client deserialization for json_serializable ( #8882 )
...
* Fix api-client deserialization for json_serializable
* Use raw string for url path
* Use Set/List.of
* Use returnTypeIsPrimitive in template
* Regenerate all templates
* Fix casting map to Iterable of things
* Add json_serializable to maven modules
* Run build_runner before pub run test
* Return future of type for strong linter mode
2021-03-11 21:16:54 +08:00
Ragul Murugesan
f7a6b7f2d3
Arrow function removed ( #8433 )
...
* Arrow function removed
* update samples
Co-authored-by: Ragul Murugesan <y509198@softwareag.com >
Co-authored-by: William Cheng <wing328hk@gmail.com >
2021-03-11 08:55:35 +01:00
Peter Leibiger
bf35ceee25
[dart][dart-dio] Lower upper bound for built_value ( #8947 )
...
The `8.x` versions are no longer compatible with the current generated code. An update is also not possible without breaking change and null-safety support.
2021-03-11 12:10:58 +08:00
William Cheng
f56dd9f59b
remove deprecated restsharp parameter class ( #8933 )
2021-03-10 14:51:23 +08:00
William Cheng
065c524894
[C#][netcore] Fix deserialisation for models with additional properties ( #8912 )
...
* better check for additioanl properties serializer
* fix additional properties check
* use additonal prop serializer with model mappings
2021-03-09 15:15:33 +08:00
William Cheng
1ba323f058
Add tests for array of string serialization ( #8913 )
...
* add tests for array of string serialization
* update test file SHA
2021-03-09 08:53:05 +08:00
Justin Black
8226269101
Fixes legacyDiscriminatorBehavior description ( #8931 )
...
* Fixes description
* Samples and docs updated
2021-03-08 13:39:12 -08:00
Tyler Ballast
f5151de9fc
Add whitespace to SDK documentation where necessary ( #8919 )
...
* Add a space between table title and the line above it to resolve issues when translating markdown to asciidoc
* Regenerate Samples
Co-authored-by: Tyler Ballast <tyler.ballast@reportix.com >
Co-authored-by: tballast <tyler.ballast@gmail.com >
2021-03-08 21:40:54 +08:00
William Cheng
bce0eb6c8f
fix header parameter naming ( #8861 )
2021-03-08 21:35:04 +08:00
William Cheng
7720c9f6bd
update samples
2021-03-08 19:05:16 +08:00
Jiri Kuncar
8cb4741248
[go][client] Fix example value for non string enums ( #8900 )
...
* [go][client] Fix example value for non string enums
* regenerated samples
2021-03-08 18:11:50 +08:00
William Cheng
51a19e1c27
[C#][netcore] Call static method without creating instance ( #8889 )
...
* call static method without creating instance
* fix instance
* fix missing equal sign
* skip instance creation
* cast to T
* update httpclient apiclient.mustache
2021-03-07 17:45:14 +08:00
William Cheng
8509f6b25a
remove javascript-promise-es6/test/model/ModelReturn.spec.js
2021-03-06 22:51:19 +08:00
William Cheng
d279b79d2d
remove modelreturn.js spec
2021-03-06 21:53:43 +08:00
William Cheng
e617f7c166
remove unused js test spec
2021-03-06 21:01:35 +08:00
William Cheng
bb6a858c32
update samples
2021-03-06 19:02:40 +08:00
delenius
7b5a583345
Make JS client case sensitive wrt. reserved words ( #8905 )
...
Fixes #8904
2021-03-06 18:40:06 +08:00
Blackclaws
85fd96a9ce
[csharp-netcore] Make Blazor Webassembly compatible ( #8876 )
...
* Catch exception thrown in Blazor Webassembly when trying to access cookies
* Update samples
2021-03-06 15:50:48 +08:00
sunn
65a31f1d9f
Make header checks case insensitive as described in RFC ( #8874 )
2021-03-06 15:49:51 +08:00
Sean Kelly
a13b222764
[Qt5] Emit signal when api has finished processing all pending work ( #8884 )
...
* Fixes #8864
* More elegant solution
* Rerun sample generation
* Fix whitespace that was fixed in merge conflict
2021-03-05 21:43:26 +01:00
sunn
3a40818519
Updated test and fix/workaround failed tests ( #8899 )
2021-03-05 17:54:21 +01:00
William Cheng
e18d4b97e0
[csharp-netcore][httpclient] add tests, bug fixes ( #8885 )
...
* add tests to csharp-httpclient petstore
* fix basepath in tests
* fix response headers
* skip file upload test in httpclient
* update samples
* update tech committee
2021-03-04 16:02:31 +08:00
sunn
1983dfc122
Indendation and whitespace changes ( #8879 )
...
Indentation and code readability
2021-03-03 20:36:11 +01:00
William Cheng
4986ea8c93
update samples
2021-03-04 00:45:20 +08:00
William Cheng
0c37275224
[C#][netcore] update dependencies to newer versions ( #8872 )
...
* update csharp-netcore dep to newer versions
* restore Org.OpenAPITools.Test.csproj
* rollback CompareNETObjects version
* rollback .net test sdk
* use 15.9.2 for test
* rollback sdk test version
* Revert "rollback CompareNETObjects version"
This reverts commit c03c00facb .
* Revert "Revert "rollback CompareNETObjects version""
This reverts commit acc66ae4f9 .
2021-03-03 20:12:56 +08:00
sunn
d4696157d6
Add QSet Header to the Helper ( #8873 )
2021-03-03 18:13:22 +08:00
Blackclaws
8c2a0ce6d6
[csharp-netcore] Fix handling of Dictionary query parameters and fix deepObject style parameter handling ( #8848 )
...
* DeepObject also for required parameters
* Fix NullPointerException on inline deepObject such as a Dictionary<string, string>
* Add deepObject in ParameterToMultiMap for deepObjects without explicit parameters
* Add some context to TODOs
* ParameterToMultiMap fixed in CSharp template for OAS 3 Dicts, taking deepObject into account
* Remove added whitespace
* Update samples
2021-03-03 16:59:29 +08:00
William Cheng
e6947d7c22
[C#] Better code format (remove trailing spaces) ( #8871 )
...
* remove trailing spaces
* remove trailing space, update samples (C#)
2021-03-03 16:46:12 +08:00
Sean Kelly
89b9802be3
[QT5] Support optional params using QVariant ( #8733 )
...
Use QVariant for optional parameters
2021-03-03 07:45:04 +01:00
basyskom-dege
950bb3d18f
added QSet as datatype for unique items ( #8830 )
2021-03-02 18:44:22 +01:00
Peter Leibiger
5ce64756a6
[dart][dart-dio] Handle nullable/required header/query parameters ( #8837 )
2021-03-02 11:09:47 +08:00
Peter Leibiger
2ed702b339
[bug][dart][dart-dio] Improve parameterToString handling ( #8372 )
...
* [dart][dart-dio] Improve parameterToString handling
* add tests
* not sure this is complete but it is better than before and can serve as a baseline with the test cases
* Add a map parameter to FormData test
* Rename method to clarify what it actually does
* Couple more tests
2021-03-02 11:08:47 +08:00
William Cheng
f7b2baf38e
Add ApiClient.mustache for http client library ( #8859 )
...
* add api client mustache for http client
* clean up api client template for restsharp
* test c# httpclient in appveyor
* remove apiclient.cs
* regenerate apiclient.cs
* set library for http client
* remove Libraries
* use libraries folder
2021-03-02 10:52:05 +08:00
basyskom-dege
16e7408eb7
[C++][Qt5] Added function to add a new Server. Removed unused variables ( #8725 )
...
* cleanup unused variables,added addServerConfiguration() function
* added setNewServer functions
* using QUrl instead of QString
2021-03-01 10:55:28 +01:00