Pascal Bachor
61bdc6bf84
[Python] adjust multi-constraint dependency syntax to comply with PEP 508 ( #20458 )
...
Co-authored-by: Pascal Bachor <bachorp@users.noreply.github.com>
2025-01-14 12:44:46 +08:00
John Vandenberg
eb47b9d836
Fix typos ( #20442 )
2025-01-11 15:44:42 +08:00
William Cheng
9fcbdb95d9
[C#] avoid duplicated header in csharp client (restsharp) ( #20421 )
...
* avoid duplicated header in csharp client
* set env
* install openssl
* switch to windows
2025-01-09 15:36:49 +08:00
Julian Vennen
3d2ff493e6
Use conditional access for enumref query params ( #20418 )
2025-01-09 13:22:43 +08:00
William Cheng
85c81bee5b
[python] Close test API clients ( #20400 )
...
* close api client
* update samples
* update python pydantic v1 test files
* update python disallow additional property tests
* update python tests
* update python tests
* update python aiohttp tests
* update python pydantic aiohttp tests
* update python pydantic v1 tests
* revert sync teardown
* update python disallow tests
* update FILES
* update python echo api tests
* update python tests
---------
Co-authored-by: Huan-Cheng Chang <changhc84@gmail.com>
2025-01-04 17:08:29 +08:00
William Cheng
25283d46a7
Fix typo in various generators, templates ( #20389 )
...
* fix typo in various generators, templates
* update samples
2024-12-30 18:52:18 +08:00
devhl-labs
8fa8530cd0
bump version to .net8 ( #20384 )
2024-12-30 13:48:24 +08:00
William Cheng
bd8cd8bf9f
update python samples
2024-12-30 11:54:55 +08:00
Lewis Hazell
ff0fe26890
Fixes body of FormParameters in multipart/form-data requests without files sent by generated C# (RestSharp) ( #20351 )
...
* fix: set RestRequest flag to force multipart/form-data when given as Content-Type
* fix: removed serialization of FormParameters for multipart/form-data
* updated csharp-restsharp samples
2024-12-22 23:28:37 +08:00
devhl-labs
5ba608ff8a
[csharp] add .net9 support ( #20270 )
...
* add .net9 support
* fixed path of new sample
* comment out manual test that does not exist
* comment out manual test that does not exist
* comment out manual test that does not exist
2024-12-22 22:06:33 +08:00
Julian Vennen
eceef28850
[PHP][php-nextgen] Improve method parameter typing ( #20361 )
...
* Fix #20354 - Nullable mixed type is not allowed
* Add parameter types for request and asyncWithHttpInfo functions
2024-12-21 15:53:51 +08:00
Cameron Koegel
289425b8ee
[typescript-axios] Add User-Agent
Header to Default Axios ( #20067 )
...
* [typescript-axios] Add User-Agent Header to Default Axios
* fix if `npmVersion` doesn't exist
* generate samples
* single line solution
* move user agent header to config
* generate samples
* splat for headers as well
* samples
* move headers above baseOptions
* samples
* commas are hard
* samples again
2024-12-17 17:36:04 +01:00
Jorge Fernandez
9fec13af85
[Kotlin][Tests]: Add test for kotlin-jvm-okhttp ( #20338 )
...
* feat(issue-20231): add echo_api client for kotlin okhttp
* build(issue-20231): sync files
2024-12-17 21:50:00 +08:00
loic-seguin
b01c8be47f
bugfix: generate correct setup.pi when no paths are specified ( #20098 )
2024-12-17 10:58:26 +08:00
Julian Vennen
e87c4ea6c0
[PHP][php-nextgen] Fix usage of enums in parameters ( #20294 )
2024-12-16 19:19:24 +08:00
William Cheng
ea2ba0c349
[java][native] fix empty response body ( #20334 )
...
* [Java][Client] (#13968 )
* update
* update
* update slack url
---------
Co-authored-by: András Gábor Kis <andras-gabor.kis@telekom.com>
2024-12-15 22:32:46 +08:00
martin-mfg
d87a70dd93
update sample tests, fix Java tests ( #20300 )
...
* replace removed forkMode
* remove junit runner where it's not needed
* update samples without skipping test files, but skip files named "FILES"
* revert overwriting custom tests, add custom java tests to list
* add one sample to CircleCI, fix various Java tests
2024-12-15 17:09:58 +08:00
Alexander Brandon Coles
3a37ba33a7
Fix typo "bellow" ( #20268 )
...
* Fix typo in constant name: s/BELLOW/BELOW/
* Fix typo ('bellow') in docs, comments and strings
2024-12-06 16:18:08 +00:00
William Cheng
25cfac0523
Update r petstore client test script ( #20196 )
...
* update R build and test script in petstore samples
* update
2024-11-28 17:20:37 +08:00
Matt Pollock
e3e06af5f4
[R] fix to-list and to-json functionality ( #20132 )
...
* [r client] fix to-list and to-json functionality
* fix type of json string
* wip
* refactor pr
* regenerate samples
* update to-dataframe example to use non-superceded tidyverse functions
* fix typo
2024-11-28 16:31:21 +08:00
jops-wtakase
7b35613cfc
[python] Encode list query params ( #20148 )
...
* Bugfix: #17688 : Encode list query params
* Test: #17688 : Update validation error message tests for Pydantic 2.10+
Pydantic 2.10+ introduced changes to validation error messages,
requiring updates to the affected test cases.
2024-11-26 23:53:12 +08:00
Matt Pollock
6399a7a97e
[R] improve binary/text response handling ( #20131 )
...
* [R client] better support for binary/compressed responses
* cleanup
* revert change after PR review
* update samples
* fix R tests
* move private api methods to api-client, revert breaking method name change
2024-11-24 22:12:39 +08:00
Benjamin Einaudi
18b01ca455
fixes(java/restclient) Force usage of custom converter ( #20112 )
...
* fixes(java/restclient) Force usage of custom converter
Insert custom converter at the beginning of the 'RestClientBuilder' converter list so as not to use default 'MappingJackson2HttpMessageConverter'
Close #20111
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2024-11-19 16:15:51 +08:00
William Cheng
654f62ce3c
Prepare 7.11.0 ( #20130 )
...
* Revert "prepare 7.10.0 release (#20128 )"
This reverts commit 12dfe8fe74a1515d1e69e00df9abe4128aa44160.
* update to 7.11.0-SNAPSHOT, update samples
* update docs
2024-11-18 20:15:29 +08:00
jasonjyu
51a0bd00b7
Replaced deprecated 'summary' attribute with recommended 'caption' element ( #19961 )
2024-11-18 17:34:55 +08:00
Tim
66908020e0
[python-pydantic-v1] Fix bug in serialization for SecretStr by applying changes from #18023 ( #20102 )
...
* Apply changes of #18023
* Regenerate samples
---------
Co-authored-by: tweber2 <tim.weber@vector.com>
2024-11-16 21:48:11 +08:00
William Cheng
02847e9323
Update minimum supported version of python in docs to 3.8+ ( #20118 )
...
* Update minimum supported version of python in docs
* update samples, docs
---------
Co-authored-by: Hugo Posnic <hugo.posnic@protonmail.com>
2024-11-16 18:01:50 +08:00
DielN
216ba30172
[JAVA] Add missing dependencies in templates ( #20075 )
...
* Add commons-lang3 dependency for useReflectionEqualsHashCode
* Fix feign-no-nullable config/sample
* Add commons-lang3 dependency to jersey2
* Add & update mutiny dependency for microprofile
* Regenerate samples
2024-11-14 14:08:26 +08:00
William Cheng
6ff52c7e31
suppress the cast warning in java okhttp-gson client ( #20076 )
2024-11-10 17:34:40 +08:00
Julian Vennen
6bd3d53eee
[PHP/Dart/Python] Correctly escape strings in single quotes ( Fixes #17582 ) ( #19529 )
...
* [PHP/Dart/Python] Correctly escape strings in single quotes (Fixes #17582 )
* Move escapeTextInSingleQuotes method to DefaultCodegen, add docblock
2024-11-09 16:50:12 +08:00
Alec Petersen
bbccd2827f
Replace MaxTimeout usage with Timeout, update Timeout to be a TimeSpan type ( #19875 )
2024-11-09 14:07:13 +08:00
Cameron Koegel
5702751e91
[Java] Respect User Supplied Header Params ( #20042 )
...
* [Java] Respect User Supplied Header Params
* remove if `dynamicOperations` true
2024-11-09 13:41:30 +08:00
Cameron Koegel
98cd9bd803
[typescript-axios] Respect User Supplied Header Params ( #20040 )
2024-11-06 18:01:59 +01:00
Jonathan Ballet
57cfff1950
python: stronger typing for the "configuration" module ( #20014 )
...
* python: strong typing for the configuration module
* 3.8 compatibility
* fix bearer format
* Specific auth settings
2024-11-06 16:36:47 +08:00
Chirag Jain
67af02ccc8
python-pydantic-v1: Keep trailing commas for enum validation tuples ( #19985 )
...
* python-pydantic-v1: Keep trailing commas for tuples when enum has just single member
* Update samples
* Add test for single member enums
* Refactor test name
2024-11-02 15:26:19 +08:00
Pavel Sveda
acb16410c4
[Kotlin] Introduce support for Kotlin Explicit API Mode for Kotlin-Client generator ( resolve #16506 ) ( #19999 )
...
* [Kotlin] Properly document nonPublicApi CLI option
* [Kotlin] Respect parameter name of parent KSerializer to avoid miss-behavior
* [Kotlin] Introduce support for Kotlin Explicit API Mode for Kotlin-Client generator (resolves #16506 )
2024-10-30 21:57:47 +00:00
alfredo-accuris
9452873b99
[csharp] Mustache fully qualify namespace for Path ( #19349 )
...
* fix: csharp mustash fully qualify namespace Path
The generated code of Csharp get a fully quallify namespace for PATH
using Path = global::System.IO.Path;
* mend
* Remove alias for fully qualify Path class
2024-10-30 14:41:35 +08:00
William Cheng
511316a966
Test build.gradle for java native petstore samples, sync pom.xml & build.gradle ( #19951 )
...
* test build.gradle for java native petstore samples
* trigger build
* sync pom.xml and build.gradle (java native)
2024-10-23 16:38:30 +08:00
Simon
21093b78c6
[JAVA]: Fix unknown property error for gradle build ( #19933 )
...
* Replace classifier with archiveClassifier
* Regenerate samples by script
2024-10-23 15:37:46 +08:00
Joscha Feth
dc3718cd5c
fix(typescript): typecheck generated samples + fixes ( #19903 )
...
* fix(typescript): typecheck generated samples + fixes
* wip(today's fortune): The sum of the Universe is zero.
* Update .github/workflows/samples-typescript-typecheck.yaml
* Update modules/openapi-generator/src/main/resources/typescript/tsconfig.mustache
* chore: regenerate samples
2024-10-18 09:57:43 +02:00
Nicolas Vervelle
65b1859161
Add nullability annotations to Java generated clients ( #19617 )
...
* issue-1960: Add nullability annotations to Java generated clients
Motivations:
Have generated clients properly annotated for nullability to be able to check code using them with tools like NullAway
Modifications:
* Add nullable_var_annotations template to handle nullability annotation on vars
* Add pojo templates to use the nullability template
* Adapt tests
* issue-1960: Add nullability annotations to Java generated clients
Modifications:
* Run export_docs_generator.sh script to update samples
2024-10-16 16:14:29 +08:00
Alec Petersen
b5b760a8a2
[csharp] Address obsolete build warnings in ApiClient ( #19847 )
...
* Stop using obsolete MaxTimeout
* Convert timeout to a timespan, rather than update the configuration object
* Use async overload of RestClientExtensions.Deserialize
* Update samples
* Fix typo
* Undo timeout change
2024-10-14 15:44:12 +08:00
Norman Schimmrich
d14eab8446
[kotlin-client][jvm-spring-webclient] Extract data from PartConfig for multipart/form-data requests ( #19811 )
2024-10-10 13:41:55 +08:00
martin-mfg
d60200de38
improve java enums ( #19815 )
2024-10-09 10:46:17 +08:00
William Cheng
e2c458b9ea
Prepare 7.10.0 ( #19809 )
...
* Revert "prepare 7.9.0 release (#19808 )"
This reverts commit 4145000dfebe7a9edea4555c8515383da7602458.
* prepare 7.10.0 snapshot
* update doc
* update samples
2024-10-08 11:21:54 +08:00
CaptainAye
a82475ed4e
Fix java rest client's ApiClient constructors to make sure objectMapper parameter is used in the client ( #19667 ) ( #19795 )
2024-10-08 09:47:16 +08:00
Kunitsyn Oleg
4ff8c3aaef
[Python][Client] Allow all content-types with text/
prefix ( #19802 )
...
* ODM-12108: allow all content-types with text/ prefix
* ODM-12108: Update deserialization tests
---------
Co-authored-by: Oleg Kunitsyn <you@example.com>
2024-10-08 09:34:36 +08:00
kruegge82
5902af4e75
in case of defined status codes > 299 switch will have no effect. issue 7788 ( #19483 )
...
* in case of defined status codes > 299 switch will have no effect. As described in issue 7788
so we get only an error if statusCode is not defined AND not between 200 and 299
https://github.com/OpenAPITools/openapi-generator/issues/7788
* in case of defined status codes > 299 switch will have no effect. As described in issue 7788
so we get only an error if statusCode is not defined AND not between 200 and 299
https://github.com/OpenAPITools/openapi-generator/issues/7788
2024-10-07 16:01:36 +08:00
Alec Petersen
c7d9857c8d
[csharp] Output DateOnly paramater in the correct default format ( #19728 ) ( #19729 )
...
* Output DateOnly in the correct default format
* Only add conditional if we are net60 or later
* Update samples
2024-10-07 10:48:50 +08:00
Viacheslav Pivovarov
e5dee54797
[R][client] Make enum parameters with required: false
optional to request arguments ( #19654 )
...
* ODM-11697: Adding null check in R-api
* bin/generate-samples.sh executed
---------
Co-authored-by: Kunitsyn Oleg <114428801+genestack-okunitsyn@users.noreply.github.com>
2024-10-05 15:12:30 +08:00