William Cheng
178f4fbad8
add dotnet7 workflow, new samples
2023-11-16 11:55:50 +08:00
devhl-labs
dd4143b75e
[csharp] Added .net8 ( #17075 )
...
* added .net8
* change .net version in the github action
* upgrade manual sample
2023-11-15 15:35:02 +08:00
Segev Finer
a460b7ea87
[typescript-axios] Upgrade to axios@^1 ( #14518 )
...
* [typescript-axios] Upgrade to axios@^1
* Try fixing tests
2023-11-14 15:06:15 +01:00
Charles Treatman
c8b3da7388
[Java][okhttp-gson] remove unreachable code from templates ( #17057 )
...
* Remove checks for jackson and jsonb from okhttp-gson templates
* regenerate samples
2023-11-14 11:13:28 +08:00
William Cheng
91ac75ff05
Fix NPE in request body ( #17055 )
...
* fix null request body NPE
* fix typo
2023-11-14 10:41:21 +08:00
William Cheng
53289263d9
Prepare v7.2.0 ( #17050 )
...
* update version to 7.2.0-SNAPSHOT
* update samples
* update doc
2023-11-13 18:53:20 +08:00
William Cheng
ec3c484ce9
Add enum name mapping to Java generators ( #17018 )
...
* add enum name mapping to java generators
* update doc
* update description
2023-11-13 10:53:50 +08:00
devhl-labs
7e529926a6
[csharp][generichost] Implement not required nullable properties ( #16810 )
...
* init
* fixed read and write
* completed changes using latest-nrt sample
* fixed all samples
* add null check on write, change on exception
* resolved conflicts
* build samples
* added backing property for not required properties
* more not required and nullable hanlding improvements
* revert sample updates for a merge master
* revert sample updates for a merge master
* sample build is working, need to remove warnings
* fixed warnings in .net 7 with nrt
* fixed manual tests
* fixed all samples
* fix npe
* removed debugging lines
* revert changes to unused file
* removed unused lambdas
* fix a serialization bug
* make option a hidden property
* updated documentation
* improved parameter ordering
2023-11-13 10:16:35 +08:00
Elon Mallin
c377fdf62d
Fix powershell client Build.ps1 and *.psm1 error when there is a missing Model folder ( #17025 )
...
* fix(powershell): make sure paths exists when building and importing module
* chore(powershell): update sample psm1 and build.ps1 with path check
2023-11-13 00:29:49 +08:00
William Cheng
372894dd1d
Add powershell echo test, rename api key names ( #17043 )
...
* add powershell echo test, rename api key names
* update
2023-11-13 00:09:46 +08:00
Julian Kalinowski
f35b132068
[Kotlin] fix( #14044 ): ktor JSON serialization handling ( #16843 )
2023-11-08 14:48:43 +08:00
Charles Treatman
166ebc50b0
[Java][okhttp-gson] validateJsonElement does not validate enum values ( #16865 )
...
* validate enum properties in validateJsonElement
* regenerate samples
* add test for enum validation in okhttp-gson models
2023-11-08 14:14:48 +08:00
Meo
ced9660123
[ts][axios] fix bugs in base.ts ( #16997 )
...
* Update base.ts
* update base.ts
* update mustache template
* update samples
---------
Co-authored-by: yangqiuyi <yangqiuyi@yaocheng.cn>
2023-11-07 18:07:15 +01:00
Marc Weiß
74163f0ac8
bump gson-fire to 1.9.0 ( #17002 )
2023-11-07 22:35:05 +08:00
William Cheng
849cf88ba7
Update C# dependencies to newer versions, update reserved word list ( #16996 )
...
* update c# dep to newer versions, update reserved word list
* update doc, list
2023-11-07 12:32:23 +08:00
William Cheng
de8599906e
Better handling of API response in 3.1 spec ( #16986 )
...
* better handling of API response in 3.1 spec
* update PR template
* add tests
2023-11-05 15:24:02 +08:00
Charles Treatman
db9fd9a094
[Go] validate required fields when unmarshalling JSON ( #16863 )
...
* validate required properties when unmarshalling JSON
* build project & update samples
* Add test for required field validation
2023-11-04 22:58:25 +08:00
William Cheng
5d03c4ac82
[java-okhttp] Restore integration tests ( #16985 )
...
* restore java okhttp tests
* update PR template, update sha
2023-11-04 22:50:23 +08:00
Adarsh Jha
7b8a515dcb
Bug Fix: Removing Hardcoded 'id' csharp-function ( #16963 )
...
* Bug Fix: Removing Hardcoded 'id' csharp-function
* Bug Fix: Removing Hardcoded 'id' csharp-function
* Bug Fix: Removing Whitespace
2023-11-02 22:14:03 +08:00
Lucas Heim
fbbfa12096
fix(typescript-nodejs): update package json dependencies ( #15493 )
...
* fix(typescript-nodejs): update package dependencies
* update samples
* Update modules/openapi-generator/src/main/resources/typescript-nestjs/package.mustache
Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
2023-11-02 12:06:12 +01:00
Kirill
832947c895
[typescript-fetch] Generate @deprecated comments for all deprecated APIs ( #16696 )
...
* add deprecated to typescript-fetch
* update samples
---------
Co-authored-by: Родин Кирилл Владимирович <kvrodin@mts.ru>
2023-11-02 09:38:23 +01:00
Ian Cubbon
83822d269a
[Bug][Go][Client] Downloaded File Does Not Exist When Returned to Caller ( #16954 )
...
* Keep the file that gets written out to by the client->decode function
* Update the echo-api test case to check the file returned exists
2023-11-02 11:46:15 +08:00
William Cheng
8d76ab9511
[Go] Add multiple file upload support ( #16956 )
...
* add go echo api client github workflow
* add support for multi file upload in go client
* update go samples
2023-11-01 11:35:25 +08:00
Cameron Koegel
c2a4163bdb
[typescript-axios] Fix Explode Query Parameters ( #16898 )
...
* [typescript-axios] Fix Explode Query Parameters
* use `paramName` instead of `baseName`
* add config, workflow and tests for echo api
* generate echo api sample
* update test dependencies and add gitignore
* update space in package json and regenerate samples
* remove tsc in test package
* update samples
* undo samples
* regenerate samples
* regenerate samples again
2023-11-01 09:41:06 +08:00
dabdirb
739390a682
java exclude password field from toString ( #16942 )
2023-10-31 17:50:30 +08:00
Artur Neumann
6cd73eba2b
[PHP] check if json_decode was able to decode response ( #16879 )
...
* [PHP] check if json_decode was able to decode response
* use try/catch to check if json_decode failed
2023-10-31 15:52:33 +08:00
William Cheng
3422ef1e64
update C# samples
2023-10-30 12:13:15 +08:00
devhl-labs
5a5ee163dc
fixed lambda to not strip line breaks ( #16930 )
2023-10-29 11:08:04 +08:00
Dawson Akins Conway
244a3b4c13
[ruby] Make File Downloads Threadsafe ( #16876 )
...
* Make Generated Ruby Code Threadsafe
* missed one
* Generate Samples
2023-10-28 20:31:18 +08:00
Torgil Folger
58f058f3e9
[csharp] RemoteCertificateValidationCallback was not called on async methods; resolves #14608 ( #16886 )
...
* Update ApiClient.mustache
added missing line in config mapping
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-10-28 20:29:38 +08:00
Kisaragi
d671b83a5f
chore(deps,rust): requires reqwest 0.11 in blocking generated code ( #16927 )
...
* chore(deps,rust): requires reqwest to be 0.11 series even if generate in blocking mode
* chore: reflect change
* test: reflect blocking Form
2023-10-28 20:08:39 +08:00
Cameron Koegel
eb5b781e20
[typescript-axios] Add Support for Operation Servers ( #16782 )
...
* [typescript-axios] Add Support for Operation Servers
* add missed import
* redo indexing to be safer
* generate samples
2023-10-27 10:41:03 +08:00
Šimon Lukašík
b13a1a05ef
[ruby|client] Fix unmarshalling errors of enums inside other objects ( #16900 )
...
* [ruby|client] Fix unmarshalling errors of enums inside other objects
Ruby|Client autogenerated model classes for Enums do not expose openapi_one_of
method. Instead they expose openapi_any_of method like:
# List of class defined in anyOf (OpenAPI v3)
def openapi_any_of
[
:String
]
end
Both types (objects and enums) do respond to build() method.
* Regenerate samples
2023-10-27 00:55:33 +08:00
Csaba Kozák
0aff1a6504
[kotlin][client] Fix compilation error when all auth method is mapped to null ( #16861 )
2023-10-24 07:38:41 +01:00
Ivan Giuliani
ae590c4712
[Ruby] Add support for populating a gem metadata ( #16872 )
...
* [Ruby] Add support for gems metadata
This defaults to an empty hash, but can be overridden with any custom
object by the callers via the `gemMetadata` property.
* Regenerate samples
The gemspecs files will now include a metadata field
2023-10-23 22:05:19 +08:00
Alexander Spivak
f16744a2bb
Update ktor client version for custom plugin support ( #16869 )
...
* Update ktor-client version to 2.3.5
* Update ktor-client version to 2.2.3
2023-10-23 22:03:54 +08:00
Thomas Trapanese
7347daec61
fix(nestjs) fix import in api module template (16670) ( #16671 )
...
* fix(nestjs) fix import in api module template (16670)
* fix(nestjs) fix import in api module template (16670)
---------
Co-authored-by: Thomas Trapanese <thomas.trapanese@maggioli.it>
2023-10-20 18:31:30 +02:00
Emanuele Saccomandi
77687a8ea5
[zapier] Zapier generator minor fix ( #16845 )
...
* fixed childMapping method
* updated samples
* fixed deps
2023-10-18 21:47:18 +08:00
Ben Madore
d6421411c9
chore: remove unused commons logging imports from java webclient ( #16839 )
...
Co-authored-by: Ben Madore <ben.madore@glassdoor.com>
2023-10-17 13:33:34 +08:00
Josh Raker
d1fa38e286
[BUG][GO] Add support for all +json and +xml suffixed media types ( #16816 )
...
* Add support for all +json and +xml suffixed media types to generated Go client
* Export JsonCheck and XmlCheck and add external tests
* Remove client_test.mustache
2023-10-17 00:47:09 +08:00
Josh Raker
c5d6884c63
[BUG][GO] Replace references to sw package with {{packageName}} in README template ( #16812 )
...
* Replace references to sw package with {{packageName}}
* Update samples
2023-10-15 10:37:27 +08:00
Kasper Rune Søgaard
1fc0cec75f
[CSHARP] Added support for nullable Enums in the ToJsonValue method ( #16801 )
...
* Fixed C# nullabled enums and attribute reusage for generichost
* Samples
2023-10-15 09:59:22 +08:00
Yuriy Belenko
3bc4f67333
[php-nextgen] Remove deprecated @category phpdoc ( #16829 )
...
* [php-nextgen] Remove deprecated @category phpdoc
@category tag is deprecated accordingly to:
* [PhpDocumentor](https://docs.phpdoc.org/guide/references/phpdoc/tags/category.html )
* Refresh samples
2023-10-15 09:35:02 +08:00
devhl-labs
2cfce7cd2d
version bump ( #16657 )
2023-10-11 16:16:06 +08:00
Emanuele Saccomandi
bbf9ccd0c0
fixed zapier objects array mapping ( #16780 )
2023-10-11 13:56:16 +08:00
Ghufran Zahidi
1bbbb73690
fix ecdsa signing issue. ( #16772 )
2023-10-10 18:36:41 +08:00
Robert Danci
87f9d53c3a
[Java][client] Fix feign classcastexception when getting headers ( #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
2023-10-10 14:53:32 +08:00
William Cheng
4a17c22905
fix object serializer, update tests in php nextgen ( #16764 )
2023-10-10 11:31:38 +08:00
Tiago
3e9dba01ee
Fix ruby httpx test ( #16765 )
...
* 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
2023-10-10 11:31:08 +08:00
William Cheng
23c5db602f
Update ruby httpx petstore test ( #16753 )
...
* update ruby httpx petstore test
* fix pom
* comment out ruby httpx tests
2023-10-09 15:43:21 +08:00