devhl-labs
c3b9bd7459
[csharp-netcore] Adds ability to inherit api ( #13797 )
...
* refactor nrt annotation
* enable nrt by default in .net6.0+
* use shorter nrt annotation
* build samples
* removed debugging lines
* fixed model and operatoin constructors
* reverted a commented line for comparison
* upgraded to System.Text.Json
* build samples
* build samples
* deleted samples to remove old files
* bug fixes
* bug fixes
* added cumpulsory property to codegen
* build samples
* fixed bug
* fixed bug
* fixes
* removed bugged code that wasnt needed
* build samples
* restored sorting and default values for required params
* fixed bugs in comparison
* fixed sort comparators
* recreate tests
* build samples...again...
* removed debugging line breaks
* simplified constructor signature
* inject json options
* build samples...again...
* build samples
* add support for composed primitives
* build samples
* build all samples
* avoid reserved words
* restored a file
* multiple fixes
* bug fixes
* bug fixes
* api clients now transient, added EventHub
* bug fix
* bug fix
* added ability to inherit api
* added ability to inherit api
* bug fix
* added requiredAndNotNullable
* added custom serialization
* added request info to error handler
* added OrDefault for enum parsing
* fixed DateTime? deserialization
* added support for server override
* added IServiceCollection to host builder extensions
* improve cookie support
* bug fixes
* fixed spacing
* fixed content type header
* fixed spacing
* removed reference to newtonsoft
* bug fixes in deserialization
* resolved conflicts
* removed postProcessAllModels code now present in abstract
* added a comment with url to an issue
* removed unneeded code
* removed change that should be another pr
* build and update samples
* reduce number of files modified
* reduce number of files modified
* delete and build samples
* delete and build samples
* fixed property name issue
* fixed CodegenModel collection properties
* avoid a conflict
* avoid a conflict
* add a todo
* added todo
* fixed circular reference
* small changes
* synced with other branches
* commented some code for now
* copied samples from master
* changed mustache templates
* build samples
* fixed invalid property names
* rebuild samples
* rebuild samples
* fixed casing issue
* resolved conflicts
* fixed bug in resolving conflicts
* removed default api, users can handle that if required
* removed default api, users can handle that if required
* build samples......again....
* addressed comment
* addressed comment
* addressed comment
* addressed comment
* build samples
2022-12-09 18:01:54 +08:00
William Cheng
11d31117a8
fix java apache client optional body, add tests ( #14227 )
2022-12-08 20:58:47 +08:00
William Cheng
1fad61e2f8
Fix response body in Java native client ( #14222 )
...
* fix response body in java native client
* add new files
* update samples
2022-12-08 17:29:53 +08:00
William Cheng
b8b25e8ae0
Fix query parameters encoding in Java apache-httpclient ( #14195 )
...
* fix query parameters encoding in java apache-httpclient
* rearrange tests
* add new files
2022-12-08 00:30:07 +08:00
teddy-s-song
1b344597bf
[typescript-axios] add temination condition for flattening url parameters ( #14018 )
2022-12-07 10:20:22 +01:00
Sorin Florea
fdf1ce6c51
Fix apache http client query parameters ( #14193 )
2022-12-07 13:57:00 +08:00
Dillen Meijboom
6686ba2dc7
Add support for style=deepObject with query parameters in the Rust generator ( #13381 )
...
* Add support for style deepObject in the Rust generator
* Add support for arrays in deepObject query parameters and fixed issue with strings
2022-12-07 00:15:36 +08:00
Oleh Kurpiak
2524e8fb0a
[Java][WebClient] global blocking operations config ( #14076 )
...
* [Java][WebClient] global blocking operations config
* update samples
2022-12-06 13:30:47 +08:00
William Cheng
811e0de1be
replace spaces with tabs in go client ( #14189 )
2022-12-06 13:04:58 +08:00
Ian Cubbon
63629ad51c
[Go] File Download Fix Return Type ( #14046 )
...
* Changes manually cherry-picked (for the most part) from https://github.com/OpenAPITools/openapi-generator/pull/12685/files
* Examples updated post changes
* Missed a change in the mustache template
* Update examples after last fix
* Missed dereference for required files
* Update unit tests
* Missed another test case update
* `f := *f` isn't quite the same as `*f, err = ...`
2022-12-06 12:21:39 +08:00
William Cheng
0103d400c2
update java samples
2022-12-05 14:33:04 +08:00
Brendan Burns
d6e7f70cb4
Modify Java ApiException to have a more informative message. ( #14154 )
...
* Modify ApiException to have a more informative message.
* Address comments.
2022-12-05 14:16:50 +08:00
Glenn Olsson
94dccae82d
[typescript-fetch] Fix response type to be Response or undefined ( #13825 )
...
* Fix response type to be Response or undefined
Current generated code produces a `response` variable set to undefined, and TS does not like you changing the type of the variable later. Therefore, set the type of the variable to be `Response` or `undefined`
Solves OpenAPITools/openapi-generator#12007
* Update samples
2022-12-03 19:27:58 +01:00
Andrei Matei
c62ebc377e
[Go] Add authentication methods only if referenced in input spec ( #14138 )
...
* Add conditions for auth methods
* Add extra auth method validations
* Regenerate example SDK
* Clean-up tests
* Fix indentation and go.sum
2022-12-01 15:29:59 +08:00
Ladd Van Tol
12fd115af3
Support RawRepresentable enums ( #14144 )
...
* Support raw representable enums
* Update samples
2022-11-30 09:35:07 +00:00
William Cheng
b8c8f4a032
update typescript samples
2022-11-29 23:23:07 +08:00
Joe Longstreet
c5e79681c5
[typescript-nest] fixes query parameter append bug ( #14139 )
...
Co-authored-by: Joe Longstreet <joe.longstreet@nabis.com>
2022-11-29 09:42:56 +01:00
Hui Yu
12a6ea7beb
[C][Client] Always send integer or boolean query parameters to the API server ( #14019 )
...
* [C][Client] Always send integer or boolean parameters to the API server
* Add fake endpoint with integer and boolean parameters
2022-11-29 14:39:18 +08:00
Jendrik A. Potyka
61700fd42c
[Python] Fix client legacy generator asyncio README code example ( #13336 )
...
* fix missing asyncio keywords
* update asyncio sample petstore
2022-11-29 14:34:32 +08:00
William Cheng
3a26da76b0
Better tests for Java native client ( #14132 )
...
* add echo tests with java native client
* fix echo server
* fix github
* add npm install
* update samples
* add license header
* update smaples
* add test for array of string
* fix java native respone type casting
* better code format
* add license header
2022-11-29 14:18:14 +08:00
William Cheng
fabd0a8be2
update jackson databind to newer versions ( #14136 )
2022-11-29 10:55:03 +08:00
Matthias Ernst
e93906eaea
[kotlin] Update kotlin to 1.7.21 and ktor to 2.1.3 ( #14128 )
2022-11-28 16:37:59 +00:00
William Cheng
d5ce79ac24
fix build warning in java apache client ( #14127 )
2022-11-26 17:39:50 +08:00
Tomasz365
e32b7a41b6
typescript-angular: Fixed path parameter encoding for date-time dataFormat ( #14114 )
...
* Fixed path parameter encoding for date-time dataFromat
* Regenerated samples
2022-11-25 13:27:54 +01:00
William Cheng
743202241e
[Java][native][apache-httpclient] update dependencies to newer versions ( #14110 )
...
* update java native dependencies to newer versions
* update java native, apache-httpclient to newer version
2022-11-24 23:55:14 +08:00
William Cheng
980062f2bb
Improve Java native, apache-httpclient with better spec ( #14109 )
...
* improve java native, apache client with better spec
* fix java native async tests
* regenerate java native tests
2022-11-24 21:48:09 +08:00
José Bustamante Morales
6bb6f1b28a
Upgrade typescript-axios from 0.26.1 to 0.27.2 ( #14093 )
2022-11-23 17:48:16 +01:00
William Cheng
09c070a27e
update test, suppress warnings in java apache client ( #14098 )
2022-11-23 20:32:01 +08:00
Sorin Florea
d74cefba83
[JAVA][APACHE] Fix apache http client query parameters ( #14020 )
...
* Fix apache http client query parameters
* Update samples
2022-11-23 14:35:01 +08:00
Mustansir Soni
a96777b6f4
[ #13998 ][Bug][PHP] Move isNullable section to the top of the setter function in templates ( #14005 )
...
* Move isNullable section to the top
* Manage extra lines
2022-11-21 14:18:36 +08:00
Ian Cubbon
903ff0ba47
Trim any space when we format the error message sent back to the client. ( #14066 )
...
A trailing whitespace gets included if the error is not a RFC7807 model.
2022-11-20 22:35:21 +08:00
Martin Delille
2a7b3cd4b9
[cpp-qt-client] Fix warnings ( #14056 )
...
* Fix warnings
* Update samplE
2022-11-20 16:10:55 +08:00
Vittorio Parrella
4487042f0d
Issue 11401 - report correctly the parameters with the deep object specification ( #13909 )
...
* issue #11401 - Go client generator doesn't support deepObject in query
* samples generation
* fix generation
* fix generation
* generated samples
# Conflicts:
# samples/client/petstore/go/go-petstore/model_200_response.go
# samples/client/petstore/go/go-petstore/model_additional_properties_any_type.go
# samples/client/petstore/go/go-petstore/model_client.go
* Fixed unit tests
* revert to http connection for tests
* fix model_simple generation
* Fix parameter encoding issue
* simplified routine
* fix test url
* adapted for latest master, necessary generation
* samples generation
* sync with new master, regenerate samples
* added api client test
2022-11-20 15:09:33 +08:00
devhl-labs
74441fde9f
[csharp-netcore] Removed net5, added net7 ( #14003 )
...
* removed net5, added net7
* bumped github action dotnet version
2022-11-18 00:50:29 +08:00
Oleh Kurpiak
40e04df096
[Java][Native] handle empty response body ( #13993 )
2022-11-17 23:27:59 +08:00
Juan Ávila
5e50ff47b0
[JAVA][RETROFIT2] Include java.util.Set in fullJavaUtil imports ( #14048 )
...
* Include java.util.Set in fullJavaUtil imports
* Update java-retrofit2 samples
2022-11-17 21:55:45 +08:00
Jeremy Audet
92ecee8c27
Don't cast list to tuple in python-prior binding ( #14014 )
...
* Add test for python-prior type conversion error
In the spirit of test driven development, this test intentionally fails.
A following commit will fix the code to comply with the test.
See: https://github.com/OpenAPITools/openapi-generator/issues/14012
* Don't cast list to tuple in python-prior binding
Tweak the python-prior API bindings, so that they no longer cast lists
to tuples when making a POST request with a multipart/form-data
content-type. This fixes an interaction with
`urllib3.request_encode_body`, whose `fields` parameter expects tuples,
not lists.
cc @spacether
See: https://urllib3.readthedocs.io/en/stable/reference/urllib3.request.html
Fix: https://github.com/OpenAPITools/openapi-generator/issues/14012
2022-11-15 17:40:28 -08:00
Nick Malfroy-Camine
77226981b6
Make sure ts-ignore is ignoring right line ( #14011 )
...
* Make sure ts-ignore is ignoring right line
* generated samples
2022-11-15 18:07:19 +01:00
Jonas Reichert
e882421ff3
enhance response with bodyData ( #14006 )
2022-11-14 12:59:25 +00:00
William Cheng
2e44e78474
Update Ruby minimum version to 2.7 ( #14002 )
...
* update ruby minimum version to 2.7
* test ruby in cirleci
2022-11-13 12:14:21 +08:00
William Cheng
4a5c9ff2d2
Add tests for rust reqwest middleware client ( #13990 )
...
* add tests for rust reqwest middleware client
* add github workflow
* trigger build
* fix rust
* trigger build failure
* Revert "trigger build failure"
This reverts commit 42d8ff42ee04d207d8c2dad4a9714a9c7ad3b1c5.
* Update pom.xml
Co-authored-by: Nathan Shaaban <86252985+nshaaban-cPacket@users.noreply.github.com>
* simplify folder
Co-authored-by: Nathan Shaaban <86252985+nshaaban-cPacket@users.noreply.github.com>
2022-11-13 10:24:29 +08:00
Elric Milon
1670e952ff
[Rust] Add support for reqwest-middleware when using reqwest ( #13946 )
...
Co-authored-by: Elric Milon <whirm@gmx.com>
2022-11-11 18:25:01 +08:00
Jonas Reichert
f1b8190b19
[swift5] less restrictive alamofire dependency resolution ( #13977 )
...
* modify Alamofire version in podspec
* modify Alamofire version in Package.swift
* also pin optimistically in Cartfile
* optimistically resolve all other dependencies to next major version
2022-11-10 17:27:24 +00:00
Jonas Reichert
7ad9f835ff
[swift5] support content types with charsets ( #13981 )
...
* enable possibility to add charset to content-type
* update samples
2022-11-10 14:28:36 +00:00
Onur Elibol
d8bed4228d
Using import type for types imports [typescript-axios] ( #13964 )
...
* type imports to use import type instead of import
* generated samples
Co-authored-by: onur-caplena <onur@caplena.com>
2022-11-10 10:49:39 +01:00
William Cheng
ca5d9b5e69
Add isEnumRef, isEnumOrRef to CodegenProperty ( #13880 )
...
* add isEnumRef to codegen property
* better format
* update R template to use isEnumOrRef
* update powershell template to use isEnumOrRef
* update samples
2022-11-08 11:16:16 +08:00
Mark Delk
d80cd099ca
[BUG][RUBY] Fix ruby faraday HTTP 0 issue without libcurl ( #13945 )
...
* Fix ruby faraday HTTP 0 issue without libcurl
* commit generated files
2022-11-08 10:46:18 +08:00
William Cheng
6a7b8fcebe
[Go][client] better code format, regenerate go client tests ( #13940 )
...
* go client regenerate test
* replace 4-space with tabs, regenerate tests
2022-11-08 10:40:28 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
Julian Taylor
3dc8403e10
[Python] pass api_client configuration to model deserialize ( #13922 )
...
The if not passed the models create a new configuration object which
configures logging and determines cpu count every time.
This causes extreme performance issues when deserializing larger sets of
items.
See also
https://github.com/kubernetes-client/python/issues/1921
2022-11-07 09:05:14 +01:00