Vasilii Sorokin
be81652269
[java] 14404 fix for json arrays ( #17812 )
2024-02-08 11:19:08 +08:00
Martin Delille
c71eb5dfe8
[cpp-qt-client] Fix CMakeLists.txt.mustache and CMakeLists.txt for Qt5 ( fix #17712 ) ( #17721 )
...
* [cpp-qt-client] Fix CMakeLists.txt.mustache and CMakeLists.txt for Qt5
(fix #17712 )
* Restore CMAKE_AUTOMOC
2024-02-08 10:44:36 +08:00
condorcorde
5a7f050889
[PowerShell] Support multiple types in Accept header ( #17765 )
...
* Update api_client.mustache
Allow Accept header to contain multiple MIME types
* Changes after build
* Update api_client.mustache
Return JSON MIME first on -Multiple -JsonFirst
* updated PetStore files
2024-02-07 12:55:24 +08:00
William Cheng
963e16a0dd
update js samples
2024-02-06 17:00:49 +08:00
William Cheng
3858599be0
udpate typescript samples
2024-02-06 16:55:37 +08:00
Arthur Mogliev
70addf8fc9
[PHP] update dependencies for php-dt generated code ( #17796 )
...
* php-dt update:
- bump minimal required PHP version to 7.4 (8.1 for modern mode)
- bump minimal required DataTransfer version to 0.6
- support for date / date-time string lists and maps
- support for request and response bodies with date / date-time string schema
- minimal file string support
* docs update
2024-02-06 16:48:18 +08:00
wouter-rednose
5397f64595
[typescript][axios] Add any to index type when additionalPropertiesIsAnyType is true ( #16494 ) ( #17625 )
2024-02-02 16:04:42 +01:00
Simon Hanna
eb7d2d9fd2
Fix typescript-nestjs services when using api_key authentication ( #17708 )
...
Closes : #17706
2024-02-02 15:32:26 +01:00
Jeffrey Yasskin
8ff230ed06
Accept Promises for the apiKey configuration in the typescript-fetch generator. ( #17758 )
2024-02-02 15:18:31 +01:00
William Cheng
7c7634dda9
add operation id option ( #17750 )
2024-02-01 17:21:49 +08:00
hopi
6ec4ed0b69
scala-sttp: fix for missing EnumNameSerializer for inner enum definitions ( #17697 )
2024-01-31 11:05:56 +08:00
Aron
1146575848
corrected handling of "isPrimitiveType" for FormParameters ( #17700 )
...
* FormParameters correct handling for "isPrimitiveType"
https://github.com/OpenAPITools/openapi-generator/issues/17699
* MultipartApi.cs generated with new mustache
https://github.com/OpenAPITools/openapi-generator/issues/17699
* FakeApi.cs generated based on new mustache
https://github.com/OpenAPITools/openapi-generator/issues/17699
* FakeApi.cs generated based on new mustache
https://github.com/OpenAPITools/openapi-generator/issues/17699
* FakeApi.cs generated based on new mustache
https://github.com/OpenAPITools/openapi-generator/issues/17699
* FakeApi.cs generated based on new mustache
https://github.com/OpenAPITools/openapi-generator/issues/17699
* FakeApi.cs generated based on new mustache
https://github.com/OpenAPITools/openapi-generator/issues/17699
* FakeApi.cs generated based on new mustache
https://github.com/OpenAPITools/openapi-generator/issues/17699
2024-01-31 10:42:15 +08:00
William Cheng
ef59589287
update samples
2024-01-31 10:38:59 +08:00
William Cheng
59f672d9aa
Add rule to remove x-internal in openapi normalizer ( #17734 )
...
* add rule to remove x-internal in normalizer
* update
* update doc
* better code format
* update samples
2024-01-30 21:11:25 +08:00
martin-mfg
9afea50cab
use map/array model class only if it is generated ( #17612 )
...
* fix
* tests
* generate samples
* refactor
2024-01-29 21:35:21 +08:00
Paul Horton
5055ebade9
fix: ensure models that have variables that contain a complexType of time.Time
import the time
module ( #17452 )
...
* fix: handle variables that have items that contain a complexType of `time.Time` properly
Signed-off-by: Paul Horton <phorton@sonatype.com>
* chore: trigger new CI runs
Signed-off-by: Paul Horton <phorton@sonatype.com>
* test: added test change an regenerated samples
Signed-off-by: Paul Horton <phorton@sonatype.com>
* resolved merge issues with upstream main
Signed-off-by: Paul Horton <phorton@sonatype.com>
* regenerated samples
Signed-off-by: Paul Horton <phorton@sonatype.com>
---------
Signed-off-by: Paul Horton <phorton@sonatype.com>
2024-01-28 11:36:05 +08:00
dmbakker
9952776e9c
[java] fix Use jackson-jakarta-rs-json-provider when useJakartaEe is true ( #17600 )
...
* fix #17590 - use jackson-jakarta-rs-json-provider instead of jackson-jaxrs-json-provider in pom when useJakartaEe is true
* fix #17590 - fix indentation
* fix #17590 - updated samples
* fix #17590 - fixed groupid
---------
Co-authored-by: in376bak <dennis.bakker@duo.nl>
2024-01-28 00:38:18 +08:00
Jesenko Mehmedbasic
a092bbd83b
[BUG] [Java] Remove deprecation and serial warnings in ApiException.java and JSON.java ( #17716 )
...
* Add serialVersionUID to Java apiException.mustache templates
* Use 'enable()' and 'disable()' methods to handle object mapper features in JSON.mustache for the "native" Java generator instead of the deprecated 'configure()'
* Update samples
2024-01-27 10:42:27 +08:00
roseatromero
d152f4d995
[cpp-ue4] Fix generated code not compiling when using unique array items ( #17684 )
...
* Add CollectionToUrlString for TSet
Added a template for converting collection to url string parameters for associative container
* Add generated samples
* Add TSet template
* Fix iterator
2024-01-27 10:32:40 +08:00
Laith Hussein
a7439e456e
feat(typescript-angular): add support for v17 of angular ( #17685 )
...
- Add support for `transferCache` property in request options
Refs: [#17301 ]
Co-authored-by: Laith Hussein <laith.hussein@beno.com>
2024-01-26 09:21:48 +01:00
William Cheng
dccb147055
Fix allOf with a single item in inline model resolver ( #17683 )
...
* fix inline model resolver for allof with 1 item
* add files
* update sha
* more checks
2024-01-23 23:37:39 +08:00
atl3
4840b366bc
Include support to Mojolicious relaxed placeholders ( #17633 )
2024-01-23 22:44:01 +08:00
Matt Pollock
1e17712f25
support binary response for R api client ( #17626 )
...
* support binary response for R api
* rework
* autogenerated samples
2024-01-23 16:28:37 +08:00
Yonatan Karp-Rudin
c2ec0bafdf
Pass ObjectMapper to JacksonConverterFactory ( #17673 )
...
This commit fixes an issue where the object mapper is not passed to the JacksonConverterFactory. The issue causing the serialization to fail when passing to the ApiClient a pre-configured mapper object (e.g. the primary bean of SpringBoot).
With this fix, the bean would be correctly passed to the factory, and the serialization would work "out of the box" for the pre-configured bean.
2024-01-23 01:09:45 +08:00
William Cheng
659e21a4bf
Update perl tests ( #17670 )
...
* update perl tests
* add more tests
2024-01-22 17:59:49 +08:00
mHejlesen
256b27912b
[Bash] Allow non-JSON request body payloads ( #17641 )
...
* Added option to mustache template that allows passing of non JSON request bodies
* Used linux terminal to run the generator scripts
---------
Co-authored-by: mHejlesen <mads.hejlesen@secata.com>
2024-01-22 16:41:20 +08:00
William Cheng
e6161cc044
Test perl petstore client in CircleCI ( #17669 )
...
* test perl client in circleci
* cpanm install
* install
* add bash
* bin bash
* update
* undo pom.xml change
2024-01-22 14:30:53 +08:00
William Cheng
df0e13f0c6
Remove outdated files in perl petstore cilents ( #17668 )
...
* remove outdated files in perl cilents
* update samples
2024-01-22 11:39:01 +08:00
Stefan Koppier
227c8602f7
[kotlin-client][jvm-spring-*] Fix runtime error in endpoints of type Unit ( #17664 )
...
* Fixed invalid extraction of response body in kotlin-client jvm-spring-*
* Generated echo-api for kotlin-jvm-spring-3-restclient
* Specific echo-api for Kotlin without allOf/anyOf
* Specific echo-api for Kotlin without allOf/anyOf
* Generated all samples
* Added kotlin-jvm-spring-3-restclient sample to workflow
* Fixed syntax problem
2024-01-22 10:57:40 +08:00
William E Little Jr
189bf7d6c5
feat(perl): Update agent to use version constant ( #17665 )
...
close #14297
2024-01-21 00:47:39 +08:00
William Cheng
e326d6aafc
add auto-generated cpanfile in perl client ( #17662 )
2024-01-20 16:59:39 +08:00
William Cheng
27f766721a
support x-internal in models and operations ( #17639 )
2024-01-20 15:20:25 +08:00
William Cheng
50ae17b197
add any type support in perl client gen ( #17654 )
2024-01-20 14:27:07 +08:00
William E Little Jr
5b6b082504
[Perl] Update _test.mustache templates to use done_testing ( #17649 )
...
* test(perl): Update test plan to use done_testing
close #14921
* fixup! test(perl): Update test plan to use done_testing
results of "./bin/generate-samples.sh ./bin/configs/perl.yaml"
* fixup! test(perl): Update test plan to use done_testing
regenerate samples
---------
Co-authored-by: William E Little Jr <13027375-bmodotdev@users.noreply.gitlab.com>
2024-01-20 14:25:45 +08:00
Chao Yang Wu
26ab9e7741
fix(typescript-axios): fix syntax error if a queryparameter called index exists ( #17550 )
2024-01-16 10:59:03 +01:00
William Cheng
64c763b87a
[OAS 3.1] Fix null type check in normalizer ( #17609 )
...
* fix null type check in normalizer
* add back ref check
* add files
2024-01-14 00:49:35 +08:00
William Cheng
c6efe8810d
better npe handling when processing openapi 3.1 spec
2024-01-13 11:21:08 +08:00
William Cheng
75ef9e0b02
update java samples
2024-01-12 12:51:33 +08:00
Marc Weiß
76560e34c9
replace deprecated ISO8601Utils with StdDateFormat ( #17052 )
2024-01-11 18:24:52 +08:00
Jorge Rodríguez Martín
61c40474af
[BUG][java][resttemplate] Fix NPE when query param with value null is exploded ( #17568 )
...
* Fix NPE when query param with value null is exploded
* Polish
* Add test
* Update tests
* Add integration test
2024-01-10 23:39:41 +08:00
Stefan Koppier
d0e533d573
[kotlin-client][jvm-spring-*] Fixed URL encoding ( #17493 )
...
* [kotlin-client][jvm-spring-*] do URL encoding via the UrlBuilder instead of manual replacement
* [kotlin-client][jvm-spring-*] Fixed imports
* ensure up-to-date
* Fixed syntax problem
* Removed unnecessary toString()
2024-01-10 15:24:29 +08:00
wrj97
cfe7dcc0cf
feat: using Qt with 3rd Party Signals and Slots ( #17067 )
...
Replace signals,slots and emit with Q_SIGNALS,Q_SLOTS and Q_EMIT
Because these names will be used by a 3rd party library
2024-01-10 13:55:31 +08:00
Matthias Gabriel
e3c0a3e8b0
[BUG][Kotlin] Add default values to optional parameters for jvm-spring-webclient and jvm-spring-restclient ( #17393 )
...
* Add default values to optional parameters for jvm-spring-webclient
* Update samples
* Add default values to optional parameters for jvm-spring-restclient
2024-01-10 13:39:54 +08:00
Anakael
11caad92df
[CSharp] feat!: add useDateOnly flag ( #17471 )
...
* feat: DateOnly for client
* fix: generated doc for csharp
* doc: fix generators README for csharp
* add DateOnly option for aspnet
* refactor: update csharp docs
* refactor: fix typo
* finish
* finish
* finish
* regenerate
* rebuild and regenerate
* fix build error
* finish
* revert path
* regenerate
* remove exceed samples
* regenerate
* add DateOnly to nullable
* remove obsolete file from list
* update test files list
* remove obsolete sample build
* revert manual tests
* revert samples to master and regenerate
* remove new samples
* remove eol
* remove eol
* add new specs
* try fix test
* update tests
* update files
* remove eol
* revert
* remove eol
* regenerate
* add net6+ support to aspnetcore
* add jobs
2024-01-10 11:34:14 +08:00
Alexis Couvreur
dd5c7e3b9a
fix: ExampleGenerator correctly generates allOf composed schemas ( #17499 )
...
* fix: ExampleGenerator correctly generates allOf composed schemas
Changes the previous behavior of generating `null` examples for allOf composed schemas.
Fixes #17497
* fix: ExampleGenerator correctly generates anyOf and oneOf composed schemas
Changes the previous behavior of generating `null` examples for anyOf and oneOf composed schemas.
To generate a oneOf/anyOf example, we generate the example using the first valid schema available. In case of a $ref, we use the first valid reference.
Fixes #17497
2024-01-10 11:04:11 +08:00
Hansjörg Oppermann
8bab0ceb53
Generated methode ApiClient.parameterToPairs failed to handle empty collections #17460 ( #17463 )
...
* #17460 add missing empty collection check
* generate samples
2024-01-10 02:29:10 +08:00
Steven Sheehy
209344ba40
[java][native] Fix ObjectMapper deprecation warnings ( #17558 )
...
* Fix ObjectMapper deprecation warnings
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
* Fix missing JsonMapper import
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
---------
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
2024-01-09 16:37:59 +08:00
Hui Yu
742c2c48e7
[C][Client] Update the API doc after some data types of parameters are changed from "int" to "int *" ( #17540 )
2024-01-06 19:04:36 +08:00
William Cheng
4acbd69c3d
update samples
2024-01-06 15:29:09 +08:00
William Cheng
ca260b2230
update ruby samples
2024-01-05 15:05:30 +08:00