William Cheng
d617b46c86
7.3.0-release ( #17817 )
2024-02-08 14:15:11 +08:00
William Cheng
0bcd88b204
update docs
2024-02-08 13:38:48 +08:00
Miklós Márton
36f2ecae48
Extend the reserved keywords for Qt projects with the following words: ( #17722 )
...
- signals (builtin Qt macro)
- slots (builtin Qt macro)
- valid (generated classes has an isValid method)
- set (generated classes has an isSet method)
Fixes #17487
2024-02-08 13:19:47 +08:00
William Cheng
0d1b14a75f
replace 4-space with tabs in go templates
2024-02-08 12:58:19 +08:00
Mehmet Fatih Ercik
fdb001c8a3
add a new function router to pass gin context ( #17785 )
2024-02-08 12:53:00 +08:00
William Cheng
7cdbb2a7b4
update samples
2024-02-08 11:38:49 +08:00
Andreas Zöllner
bc680568c5
include API information in RestConfiguration Template ( #17770 )
...
Include API info in RestConfiguration for java-camel-server mustache template to prevent warning on startup as OpenAPI information can't be created otherwise.
2024-02-08 11:34:55 +08:00
Ash Berlin-Taylor
5334014098
[go] Fix panic from marshalling Nil NullableTime ( #17772 )
2024-02-08 11:25:09 +08:00
Nathanael COURET
ba4e5ef495
Fix #17752 - Add dependency for jakarta-validation-api and hibernate-validator to pom.xml file for Java client with Resttemplate library ( #17753 )
...
Co-authored-by: NC90131N <nathanael-externe.couret@enedis.fr >
2024-02-08 11:23:23 +08:00
William Cheng
5bcdc25645
update test file sha256
2024-02-08 11:20:05 +08:00
Vasilii Sorokin
be81652269
[java] 14404 fix for json arrays ( #17812 )
2024-02-08 11:19:08 +08:00
William Cheng
cd18299bb8
Fix TS Axios echo client github workflow ( #17815 )
...
* test fix
* test fix
2024-02-08 11:03:59 +08:00
Jonathan
f323a3e788
[Python] deserialize enum json response ( fix #17789 ) ( #17791 )
...
* deserialize enum json response (python)
* adapt python samples: adding enum deserialization
* add echo test for enum json response deserialization (python)
* update samples
2024-02-08 10:52:43 +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
William Cheng
0202bac539
fix parent name look up using schema name ( #17807 )
2024-02-07 18:11:43 +08:00
MarBode
cbc345308a
Fix OpenAPITools#17757 - Include minimum and maximum values in arrays with number items ( #17759 )
2024-02-07 13:47:46 +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
Tomohiko Ozawa
795f0798ac
[Java] Fix default values of array-type parameters in a referenced file ( #17779 )
...
* fix invalid default values of parameters with array type in a referenced file
* add test
2024-02-07 12:46:43 +08:00
Charles Treatman
d0ed25a06d
[Go] fix unused bytes import for anyOf and oneOf models ( #17775 )
...
* add sample spec for oneof and anyof with required properties
* omit bytes import for oneOf and anyOf models
* generate sample client for new spec
2024-02-06 17:05:39 +08:00
William Cheng
963e16a0dd
update js samples
2024-02-06 17:00:49 +08:00
Moritz
2f3f684b7f
Fix #17767 ( #17769 )
...
Co-authored-by: Moritz Hannemann <m.hannemann@fz-juelich.de >
2024-02-06 16:56:28 +08:00
William Cheng
3858599be0
udpate typescript samples
2024-02-06 16:55:37 +08:00
Lucian Buzzo
4ec170236d
fix: update dead link to TypeScript docs ( #17771 )
...
The previous link no longer worked, so I've updated it to the latest
version of the TypeScript handbook.
Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com >
2024-02-06 16:50:01 +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
William Cheng
5af2c7fbfb
[jax-rs][jersey3] Fix missing SecurityRequirement ( #17797 )
...
* [jax-rs][jersey3] Add SecurityRequirement
* Update Samples
* update samples
---------
Co-authored-by: nbreuil <88213872+nbreuil@users.noreply.github.com >
2024-02-06 16:47:19 +08:00
Charles Treatman
6e137bb61d
Add sample spec to catch external file reference issues in swagger-parser ( #17773 )
...
* add a sample that catches swagger-parser issues with external refs
* generate samples for new test spec
2024-02-06 16:22:41 +08:00
Jonathan Klaassen
6bcf8cd332
Fix Python codegen in specific additionalProperties case. ( #17659 )
...
* Fix Python codegen is specific additionalProperties case.
* Add generated test files.
* Apply fix to AbstractPythonPydanticV1Codegen.java.
2024-02-05 22:17:14 +08:00
William Cheng
334ddca021
Add Svix as bronze sponsor ( #17783 )
...
* add svix as sponsor
* add logo
2024-02-04 22:15:38 +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
Simon Hanna
580da9978a
Allow using bearer auth in typescript-nestjs ( #17711 )
...
Closes : #10114
2024-02-02 15:23:20 +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
Robert Stoll
2129b15c8f
fix require var logging, don't matchGenerated if allOf skipped ( #17746 )
2024-01-31 21:35:43 +08:00
William Cheng
4d3121c32e
remove sonar workflow which works with jdk17+ only
2024-01-31 11:46:15 +08:00
William Cheng
c9204c4330
Update model_generic.mustache, tuple notation breaks when there is only one element in the tuple ( #17749 )
...
* Update model_generic.mustache, tuple notation breaks when there is only one element in the tuple
In this excerpt of the mustache template, the matching behaviour is bugged when there is only one element in the tuple notation. A single string with the tuple notation, e.g., `("string")`, will result in a string, and when values are compared with the string, it will do a `contains` match instead of an exact match, which is unintended behaviour.
* Update with samples, step 3
* Add test spec and regenerate samples
* Update samples
* Update spec and samples
* update samples
---------
Co-authored-by: Edmund Loo <edmundloo@users.noreply.github.com >
Co-authored-by: Edmund Loo <github.yn0u9@simplelogin.com >
2024-01-31 11:29:15 +08:00
hopi
6ec4ed0b69
scala-sttp: fix for missing EnumNameSerializer for inner enum definitions ( #17697 )
2024-01-31 11:05:56 +08:00
Sander Hoentjen
7267e809c3
[python-fastapi] Ensure path param is ... instead of None ( #17532 )
...
Fixes #16029
Code from https://github.com/OpenAPITools/openapi-generator/issues/16029#issuecomment-1776271921
2024-01-31 11:03:14 +08:00
Charles Treatman
af4800132d
revert swagger-parser upgrade ( #17657 )
2024-01-31 10:46:14 +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
William Cheng
301f25a306
fix is null schema check for array of string in 3.1 spec ( #17728 )
2024-01-30 12:08:45 +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
Tobias
8f441689f7
[JavaSpring] Add Javadoc to enum (x-enum-descriptions) ( #14123 )
...
refs #1693
2024-01-27 23:49:11 +08:00
Antoine Reilles
17473a035b
make sure the imports are present for enum, if using jackson ( #15123 )
2024-01-27 23:29:18 +08:00
dabdirb
66a6af5ca4
add lombok model support on spring ( #17622 )
...
* add lombok model support on spring
* use regex to adapt annotation with parenthesis
* add ut case
* add samples
* add samples
* fix github workflow
* fix github workflow
2024-01-27 10:45:44 +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
Jesenko Mehmedbasic
0a0428b89c
Add JavaDoc to api and apiInterface templates for the JavaJaxRS spec generator ( #17705 )
...
* Add javadoc to api and apiInterface templates for JavaJaxRS/spec.
* Updated samples with javadoc change.
2024-01-27 10:40:37 +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
dependabot[bot]
aa15ef9ab9
Bump eskatos/gradle-command-action from 2 to 3 ( #17719 )
...
Bumps [eskatos/gradle-command-action](https://github.com/eskatos/gradle-command-action ) from 2 to 3.
- [Release notes](https://github.com/eskatos/gradle-command-action/releases )
- [Commits](https://github.com/eskatos/gradle-command-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: eskatos/gradle-command-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 10:02:40 +08:00
dependabot[bot]
ad73e115d9
Bump gradle/gradle-build-action from 2 to 3 ( #17720 )
...
Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ) from 2 to 3.
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 10:02:18 +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
96eb4a499a
Add SSS Twitter to bronze sponsor ( #17698 )
...
* add SSS Twitter to the sponsor
* update url
2024-01-25 00:52:50 +08:00
Tjeerd Verhagen
aaaf1e14c8
Fixes #17645 When interfaceOnly is true, RestApplication will be generated as well ( #17646 )
...
This class with the optional OpenAPIDefinition annotations is now generated always.
And no longer only when the interfaceOnly is set to false (default).
2024-01-24 21:37:10 +08:00
Jakub Szulc
45add92710
[RUST][CLIENT] Fix generated type not being converted to string ( #17504 )
2024-01-24 15:26:45 +08:00
William Cheng
f31164b569
Improvements on scala http4s server generator ( #17693 )
...
* improvements on scala https server generator
* trigger dockerfile build
2024-01-24 11:46:50 +08:00
William Cheng
6a8ca1018f
fix missing import in ruby faraday test ( #17692 )
2024-01-24 11:02:53 +08:00
William Cheng
d0187ab359
Add tests for query parameters (array of integer/string) ( #17686 )
...
* add tests for query parameters in python client
* update other samples
* update samples
2024-01-24 10:20:18 +08: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
William Cheng
90bd1f361b
update samples
2024-01-23 16:52:00 +08:00
masudanaokinino
0357a1b1dd
fix "parameters_to_url_query" throws an error ( #17638 )
2024-01-23 16:31:47 +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
William Cheng
b2f622cd98
Fix map and free form object detection issue in 3.1 spec ( #17624 )
...
* fix map issue in 3.1 spec
* fix, add tests
* update samples
* update
* manully fix spec
* revert
* fix rust model
2024-01-23 12:06:38 +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
Neeme Praks
74a3a8870d
Fix typo in KotlinClientCodegen.java user-visible error message ( #17674 )
2024-01-22 23:40:37 +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
Tjeerd Verhagen
3dcef8249b
Fixes #17642 by adding info contact url to the generated OpenAPIDefinition annotation ( #17644 )
2024-01-20 22:47:40 +08:00
William Cheng
eb10b410e1
remove isAnyTypeSchema in default codegen ( #17663 )
2024-01-20 17:07:50 +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
Vasiliy Ditsyak
3767110b1b
[dart-dio] includeIfNull: truefalse bugfix ( #17631 )
...
Co-authored-by: Vasiliy Ditsyak <vasilich6107@users.noreply.github.com >
2024-01-20 14:19:21 +08:00
Sindre Møgster Braaten
3756c3b65d
Support isResponseOptional in typescript-fetch generator #7720 ( #17635 )
2024-01-18 08:46:57 +01:00
William Cheng
d810d7c534
R echo client tests ( #17629 )
...
* add r echo api client sample
* add r workflow
* fix
* add env
* set r version
* install curl
* install dep
* fix
* comment out installation
2024-01-18 09:05:35 +08:00
dependabot[bot]
eab34c9b3f
Bump actions/cache from 3 to 4 ( #17636 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 08:59:37 +08:00
Linh Tran Tuan
7e8b521069
[Rust] [Axum] Fix clippy warning ( #17637 )
2024-01-18 08:58:59 +08:00
Sindre Møgster Braaten
a730fe5048
Added missing copied properties from CodegenOperation in TypeScriptFetchClientCodegen and ErlangClientCodegen to resolve issue #15457 ( #17627 )
2024-01-17 23:34:15 +08:00
Rugal Bernstein
287e8fc69c
Able to generate within parameter #17158 ( #17623 )
2024-01-16 21:48:46 +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
Alexis Couvreur
092463a513
feat: add java-wiremock generator ( #17614 )
...
* feat: add `java-wiremock` generator
* remove text block usage for samples
this will allow more version of jav to be compatible with this
* fix extra parenthesis
* Add java-wiremock workflow
2024-01-16 11:40:13 +08:00
Robert Schweizer
a0418c2855
[python][client] Clean up samples and CI ( #17509 )
...
* chore: Remove leftover Github action file
This was probably added by mistake. A similar file is active in
.github/workflows/samples-python-pydantic-v1-petstore.yaml.
* chore: Remove leftover VERSION from old python-experimental sample
* ci: Stop running Python integration tests in Circle CI
These Python clients are all tested with Github Actions already, which
is faster, more cleanly separated and only runs on modifications.
I'm not cleaning up the pydantic-v1 client, I expect it to be removed soon anyway.
* chore: Remove true from sample folder name
python-disallowAdditionalPropertiesIfNotPresent-true
-> python-disallowAdditionalPropertiesIfNotPresent
2024-01-16 10:34:04 +08:00
Dennis Ameling
13edc5d494
kotlin-server: Add support for Javalin ( #17596 )
...
* kotlin-server: Add support for Javalin
* kotlin-server: Add Javalin generated sample code
* Add output from build scripts
* Address MR feedback
* Update CI to include new Javalin sample
2024-01-15 20:22:20 +08:00
William Cheng
36e4e4f316
add Carksberg Group to the user list ( #17615 )
2024-01-15 15:40:41 +08:00
Gonzalo Gomez
af71460c86
[Go-Server] Use ParseQuery For Parsing Query Parameters ( #17585 )
...
* Uses ParseQuery to check for malform paramater value pairs.
Runs ./mvnw clean package, ./bin/generate-samples.sh ./bin/configs/*.yaml, and ./bin/utils/export_docs_generators.sh.
* Adds missing import
* Only import url if hasQueryParams.
* Adds helper function to wrap url.ParseQuery.
* Fixes function return signature
2024-01-15 13:43:04 +08:00
William Cheng
6518932ccf
add tests for oneOf object (go)
2024-01-15 12:06:56 +08:00
Ash Berlin-Taylor
90a7354c42
Fix Go generation of type: object inside anyOf ( #17339 )
...
Without this the generated code contains `{}` in the field name which is invalid.
2024-01-15 11:57:54 +08:00
William Cheng
33faa2960c
update python flask samples
2024-01-15 09:18:32 +08:00
Matthias Tafelmeier
9391354b85
bug fix: breaking dependency of flask server gen ( #17611 )
...
Because the requirements file does not limit connexion version to below
3.0, with release of connexion 3.0 the openapi server startup sequence
runs into a module not found issue.
This contraint is preventing that.
2024-01-15 09:10:07 +08: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
martin-mfg
51dbd32622
remove jersey1 templates ( #17607 )
2024-01-13 20:37:13 +08:00
Huan-Cheng Chang
8e9a17fe02
[Python] Handle nullable dictionary values ( #17605 )
...
* fix nullable elements in maps
* update examples
* exclude values typed as Any
2024-01-13 18:45:22 +08:00
Roi Shacham
406bc28a3d
Fix parameters_to_url_query doesn't properly convert lists to string ( #17592 )
...
* fix parameters_to_url_query to properly handle lists
* fix query parameters bug in sample clients
* add tests for url query list value
* build project
* tests fix
* Revert "build project"
This reverts commit a486a6de75 .
2024-01-13 11:36:01 +08:00
Alexis Couvreur
b01b182af6
fix: DefaultCodegen now generates an exemple for each status codes ( #17603 )
...
The DefaultCodegen now iterates through all api operations.
This allows to access different examples based on the response per status code and content type.
2024-01-13 11:33:36 +08:00
Huan-Cheng Chang
968c6dc418
[Python] Handle nullable list items ( #17594 )
...
* fix nullable elements
* update type info in docs
* update examples
2024-01-13 11:29:22 +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
Breus Blaauwendraad
e384201416
[JAVA] - fix BUG 14233 code gen support multiple accept headers, fallback is json/application ( #15245 )
2024-01-12 12:39:11 +08:00
William Cheng
62459f4a9a
add copyright note to rust axum server codegen ( #17598 )
2024-01-12 10:37:43 +08:00
Linh Tran Tuan
6429711a58
[Rust] [Axum] Format ops-v3 sample ( #17599 )
2024-01-12 10:37:14 +08:00
William Cheng
987a52cf0f
move rust axum configs to bin/configs/manual
2024-01-12 10:28:07 +08:00
Sergey Vladimirov
69e72203ae
Fix flattenPath() in InlineModelResolver: use List instead of Map ( #17579 )
...
* Fix flattenPath() in InlineModelResolver: use List instead of Map
Fix for https://github.com/OpenAPITools/openapi-generator/issues/17578
* Update InlineModelResolver.java
2024-01-11 18:37:16 +08:00
Marc Weiß
76560e34c9
replace deprecated ISO8601Utils with StdDateFormat ( #17052 )
2024-01-11 18:24:52 +08:00
Linh Tran Tuan
be19c35c45
[Rust] [Axum] Deduplicate code from rust-axum generator ( #17588 )
...
* [Rust] [Axum] Deduplicate code from rust-axum generator
* Fix build
2024-01-11 16:48:28 +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
William Cheng
9b7528d8c8
update samples, docs
2024-01-10 11:50:48 +08:00
mikkka
455add6d80
Implement scala http4s server generator ( #17430 )
...
* Implement scala http4s server generator
* Fix types and auth
* Add proper handling of various responses
* Fix configs
* Drop null values in json encoder
* Add sample files
---------
Co-authored-by: m.tkachev <m.tkachev@tinkoff.ru >
2024-01-10 11:40:31 +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
9b62b9bb05
fix: ExampleGenerator correctly produces YYYY-MM-dd format for date with examples ( #17495 )
...
When an example was specified for a property with the `date` format, it's example would be generated to something like `2024-01-01T00:00:00.000+00:00` or `Sat Jan 30 01:00:00 CET 2021`.
It's because the resolved type for a Date example is a DateSchema, and a DateSchema uses `java.util.Date` to represents the Date. Which gets printed using .toString() not in the YYYY-MM-dd format.
Fixes #17494 #15342
2024-01-10 11:27:10 +08:00
Kernevez
e69c5269d5
Add tags on operation for template kotlin-spring ( #17410 )
...
* Add tags on kotlin-spring
* Fix review
2024-01-10 11:20:14 +08:00
William Cheng
7ddcb9a8cb
update samples
2024-01-10 11:19:38 +08:00
Rugal Bernstein
1e0e8fe0eb
Add ability to append ServerHttpRequest for kotlin-spring generator ( #17158 )
...
* Add ability to append ServerHttpRequest for kotlin-spring generator
* Add generated doc & sample
2024-01-10 11:11:23 +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
Erik Booij
90f3b24edc
fix(go-server): ensure original filename can be deduced from tmp file ( #17416 )
2024-01-10 02:00:44 +08:00
Linh Tran Tuan
425011a50c
[Rust] [Axum] Remove redundant code in rust-axum generator ( #17570 )
2024-01-10 01:41:14 +08:00
Thomas Kläger
69a4a65bc7
fix spring generator dto annotations ( #17054 )
2024-01-09 16:47:10 +08:00
Jonathan Ballet
df7976c1a3
python: enable more mypy checks 1/n ( #17556 )
...
* python: more mypy checks
* mypy: check_untyped_defs
* mypy: disallow_subclassing_any
* mypy: disallow_untyped_decorators
* mypy: disallow_any_generics
2024-01-09 16:45:05 +08:00
dependabot[bot]
c041d7e12f
Bump follow-redirects from 1.15.2 to 1.15.4 in /website ( #17562 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 16:40:37 +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
Linh Tran Tuan
9827098057
[Rust] [Server] New generator bases on Axum ( #17549 )
...
* Rust Server - Axum based (#5 )
* Fix typo
* Address comment
* Address comment
2024-01-09 11:38:54 +08:00
William Cheng
210044eb8a
fix description in allOf with single item ( #17560 )
2024-01-09 11:37:50 +08:00
William Cheng
f36659114b
update runalloy logo and links ( #17559 )
2024-01-09 10:44:11 +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
0d4c9fb2c3
update alloy automation logo
2024-01-06 15:43:42 +08:00
Jonathan Ballet
22a0fc1727
python: adjust basic typing information ( #17511 )
...
* python: adjust basic typing information
This is an initial pass to fix and adjust the typing information for the
generated client. This is enough to have mypy runnning without complains
on all the (modern) generated clients (Pydantic v1 code is not checked
for instance)
mypy is also now run directly in the CI, so further changes will also be
checked and thus, will need to be compliant with good typing
information.
Note that this doesn't *fully* type all the code: mypy is not run in
"strict" mode and there are still many functions/methods/attributes
which are still not fully typed, but it's a first good step in that
direction.
* ApiResponse's raw_data can't be None
* Fix indentation
* Revert test changes
* run mypy on tests/ directory
* don't forcefully convert the client response headers to dict
* override petstore ApiResponse model
* adjust type of 'any/one_of_schemas' fields
2024-01-06 15:40:42 +08:00
William Cheng
4acbd69c3d
update samples
2024-01-06 15:29:09 +08:00
Sebastian Toepfer
cc946e3f61
fix typo in javadoc in RestTemplate/ApiClient ( #17541 )
2024-01-06 15:21:18 +08:00
William Cheng
ca260b2230
update ruby samples
2024-01-05 15:05:30 +08:00
Armand Mégrot
07a9257ee9
[Ruby][client] Handle enums (and other scalars) in oneOf and anyOf schemas ( #17515 )
...
* Handle enums in oneOf and anyOf schemas
* Update specs
2024-01-05 15:01:08 +08:00
William Cheng
5c571b0e1f
add enum name mapping support to ruby generators ( #17537 )
2024-01-05 15:00:52 +08:00
William Cheng
c782526556
update samples
2024-01-05 14:28:13 +08:00
William Cheng
a0c2517e79
Add a link to new youtube tutorial ( #17536 )
...
* fix typo
* add link to youtube tutorial
* update julia doc
2024-01-05 12:02:36 +08:00
William Cheng
22d228b075
Add Alloy Automation as bronze sponsor ( #17535 )
...
* add Alloy Automation as bronze sponsor
* fix url
2024-01-05 11:53:20 +08:00
martin-mfg
64f2cad9e8
fix #17258 - use model class only if it is generated ( #17490 )
...
* fix #16797 and #15796 spring child constructor missing parent params
* root cause and update the DefaultCodegen.java to add missing property when with multi inheritance
* rollback SpringCodegen.java
* update samples
* rollback with master cause #16992 fixed this issue too
* still using orignal design
* catchup master
* catchup master
* catchup master
* fix
* add tests
---------
Co-authored-by: dabdirb <dabdirb@gmail.com >
2024-01-05 10:30:28 +08:00
William Cheng
6317796cba
Remove optional path parameter in C# generichost template ( #17525 )
...
* remove optional path parameter in C# generichost template
* update
2024-01-05 09:58:28 +08:00
Ilamparithi Natarajan
ddc7d4b1b5
[java][resttemplate] rethrow original exception when retry limits exceeded ( #17488 )
...
in rest template, when the retry limits exceeded
rethrow the original exception
also add 429 (Too many requests) status code to the
retry logic
fix #17478
2024-01-05 09:57:24 +08:00
William Cheng
23bd5d413c
Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator
2024-01-05 09:56:51 +08:00
William Cheng
1b72140b46
update samples
2024-01-05 09:56:40 +08:00
Dan Booker
34c3f8c7aa
[C][Client] Fix enum function names not matching headers in the model template ( #17512 )
...
- fixes #17510
Co-authored-by: Dan Booker <dan.booker@ncipher.com >
2024-01-05 09:49:04 +08:00
Antoine MARQUES
3d91fa8bd7
Update Configuration.mustache ( #17529 )
...
BUG: in getHostString : typo in variable usage : $hostsSettings instead of $hostSettings
2024-01-05 09:48:14 +08:00
Jonathan Ballet
063865973d
python: simplify module imports ( #17507 )
...
In #16624 , I introduced a new mechanism to record imports to other
modules, instead of having specialized datetime/typing/pydantic objects
to manage imports for these modules.
This change reuses the mechanism from #16624 and replace the specialized
import managers by the generic one. Unused imports from various
.mustache templates are also cleaned up.
2024-01-03 21:22:53 +08:00
cureaid
dffb5c121f
Also escape '$' and '\' in normal Kotlin strings, … ( #17434 )
...
* also escape '$' and '\' in normal Kotlin strings, …
* rename `lambdaEscapeDoubleQuote` to `lambdaEscapeInNormalString`
* escape `$` and `\` in `@RequestMapping` annotation `value` property
2024-01-03 10:46:03 +08:00
Martin Delille
c56fc21517
[cpp-qt-client] Update minimum cmake version to 3.5 ( #17480 )
2024-01-03 10:22:46 +08:00
Martin Delille
cb84dffb2a
[cpp-qt-client] Add cpp-qt-client technical committee to CODEOWNERS ( #17481 )
2024-01-03 10:22:09 +08:00
Aliaksei
48e9b9f408
[bugfix][jaxrs]: fix compile error for jaxrs samples ( #17479 )
2024-01-03 09:59:17 +08:00
William Cheng
218dccdb8b
not throwing ex when ignore file exists ( #17501 )
2024-01-03 09:56:13 +08:00
Christopher Queen
8b5b5a74c3
Update README.md ( #17483 )
...
Added Christopher Queen Consulting to list of companies using the generator
2023-12-30 11:27:10 +08:00
Artur Neumann
a5d3fb4f60
fix rendering of stars in README ( #17477 )
2023-12-27 15:11:16 +08:00
Mobile Team @ AOK Systems
6eeecc1d18
Fix decoding OpenAPIDateWithoutTime ( #17146 )
...
* Fix decoding OpenAPIDateWithoutTime which in previous implementation only worked when used with CodableHelper, because it encoded to String, but tried to decode from Date afterwards
* update samples
* Update OpenAPIDateWithoutTime.mustache
* Update sample projects
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
Co-authored-by: Bruno Coelho <4brunu@users.noreply.github.com >
Co-authored-by: Bruno Coelho <4brunu@gmail.com >
2023-12-26 17:56:39 +00:00
ken_tunc
1105759a6f
[kotlin-client][jackson] Add support for unknown default enum value ( #17404 )
...
* [kotlin-client][jackson] Enable @JsonEnumDefaultValue
* Update samples
2023-12-26 16:36:44 +00:00
William Cheng
e20466bffe
update readme to reference 7.2.0
2023-12-27 00:35:41 +08:00
Ghufran Zahidi
35b47e6382
Fixed the HttpSigning issue for ECDSA key supplied as string. ( #17459 )
...
Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com >
Co-authored-by: Vikrant Balyan (vvb) <vvb@cisco.com >
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com >
Co-authored-by: Sebastien Rosset <serosset@cisco.com >
2023-12-26 17:50:14 +08:00
Ghufran Zahidi
c252216700
[go]: Accept APIKey as string, byte array or stream using io.Reader interface ( #17432 )
...
* Added support for APIKey as string or bytes stream for golang sdk.
* updated the sample code
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com >
* updated the sample code
---------
Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com >
Co-authored-by: Vikrant Balyan (vvb) <vvb@cisco.com >
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com >
Co-authored-by: Sebastien Rosset <serosset@cisco.com >
2023-12-26 17:39:53 +08:00
William Cheng
c215bc681d
better java resteasy echo api client tests ( #17473 )
2023-12-26 10:25:55 +08:00
fizzet
2d50655d8c
[JaxRS] fix pojo equals ( #17431 )
...
* [JaxRS] fix Pojo equals
Fix equals for pojos that have the same name as one of their properties
* regen samples
2023-12-26 10:13:36 +08:00
Raphaël Ouazana
d0f659ec4d
[ #17465 ] Fix Kotlin templates to be compatible with Kotlin K2 compiler ( #17466 )
2023-12-26 10:09:28 +08:00
Alex Shani
a4f1a17502
Update README.md ( #17468 )
...
hideGenerationTimestamp flag should be =true instead of :true
2023-12-26 09:50:17 +08:00
Milad
8c014372aa
[Java RESTEasy client] updating test to use the Java RESTEasy echo api client ( #17367 ) ( #17470 )
...
* updating test to use the Java RESTEasy echo api client (#17367 )
* regenerated samples
* set source and target to 1.8 to fix workflow failure, adapted parser
2023-12-26 09:32:51 +08:00
Noor Dawod
a67e07e132
Stop using internal variable from okhttp3 ( #17458 )
2023-12-22 11:07:08 +00:00
William Cheng
5eab3cef19
Prepare 7.3.0-SNAPSHOT ( #17456 )
...
* Revert "v7.2.0 release (#17455 )"
This reverts commit fe638d0093 .
* set version to 7.3.0-SNAPSHOT
* update doc
2023-12-22 16:55:58 +08:00
William Cheng
fe638d0093
v7.2.0 release ( #17455 )
2023-12-22 14:52:51 +08:00
Charles Treatman
da13013a27
[Go] fix validation of property names when a model has required fields and doesn't allow additional properties ( #17267 )
...
* update template for required field validation when additional properties are not allowed
* regenerate samples
* move bytes import from template to GoClientCodegen
* regenerate samples
* add test for model with required fields and additionalProperties: false
2023-12-22 12:35:52 +08:00
Gašper Kojek
63f09ee846
Update gradle enterprise setup ( #17399 )
...
* Set remote build cache to push only if authenticated
* Bumped Gradle enterprise extension to 1.20 and CCUD extension to 1.12.5
* Removed duplicated <storeEnabled> line from gradle-enterprise.xml
* Removed addressed comment
2023-12-22 11:07:43 +08:00
William Cheng
e127ba3d0c
update readme
2023-12-22 11:06:09 +08:00
Mickael Magniez
38c33b92fe
Add scala-pekko client generator ( #17417 )
...
* feat: add scala-pekko client generator
* feat: add scala-pekko client to CI
2023-12-22 10:58:27 +08:00
Beppe Catanese
986a9146d7
Remove tests replaces with Python sample testing ( #17453 )
2023-12-22 10:57:25 +08:00
Stormshield-robinc
0a7140224c
Fix swift5 binary upload ( #17422 )
2023-12-21 22:27:47 +00:00
Nikita Shmakov
3099a2fcd3
webclient explode query parameters support ( #17441 )
2023-12-21 19:35:07 +08:00
Milad
106047980b
[Java RESTEasy client] added filename directive for Java RESTEasy file uploads ( #17367 ) ( #17435 )
...
* added filename directive for Java RESTEasy file uploads (#17367 )
* regenerated samples
2023-12-21 19:34:30 +08:00
Ween Jiann
bf4c98a82a
[go-server] Add ability to handle nullable query param ( #17321 )
...
* Update
* Regen
2023-12-21 19:13:05 +08:00
mya0
864c0db5e9
[typescript-axios] Fix Missing AxiosRequestConfig ( #17450 )
2023-12-21 10:58:05 +01:00
Beppe Catanese
a34eeaed77
[GO Gin Server] Webhooks support: add missing webhook handlers ( #17411 )
...
* Implement postProcessWebhooksWithModels
* Implement postProcessWebhooksWithModels
* Add missing webhook handlers
* Test webhook handler
* Generate samples
2023-12-21 16:10:09 +08:00
Emanuele Saccomandi
b20c8db281
[Zapier] Updated some dependencies ( #17420 )
...
* updated zapier dependencies
* updated zapier platform core to last version
2023-12-21 16:09:44 +08:00
William Cheng
6d9211a131
Update dependencies to newer versions ( #17449 )
...
* update dependencies to newer versions
* remove test
2023-12-21 16:09:18 +08:00
William Cheng
a62132ecd9
fix exception in request body with enum ref ( #17438 )
2023-12-21 15:22:28 +08:00
Beppe Catanese
b5cd4e9316
Add tests to verify generated Postman samples ( #17444 )
2023-12-21 15:22:03 +08:00
Drew Kimberly
457622c456
fix(typescript-*): nullable additionalProperty values ( #17379 )
...
* fix(typescript-*): nullable additionalProperty values
* chore(samples): update samples
2023-12-20 14:14:25 +01:00
William Cheng
aeb6fcbb8c
update wording in exception message (python abstract) ( #17437 )
2023-12-20 16:45:54 +08:00
Benedikt Waldvogel
1ccabeec64
Add "cronn GmbH" to the list of companies using the openapi-generator ( #17436 )
2023-12-20 14:29:48 +08:00
Anton Ignatov
aacea3477f
Generalized mime type support ( #17285 )
...
* implemented generalized content-type handling
* regenerated samples
* addressed implementation review feedback
* added tests for proposed improvements
2023-12-19 13:23:36 +01:00
William Cheng
dc047b4e91
fix missing array description in 3.1 spec ( #17427 )
2023-12-19 11:35:46 +08:00
William Cheng
473c3508ff
to fix loop for allof with single element in normalizer ( #17426 )
2023-12-19 11:31:25 +08:00
Yonatan Karp-Rudin
5435b44e40
Fix missing convertor for jackson in retrofit ( #17418 )
...
* Add missing Jackson converter for Retrofit
This commit adds the missing configuration for a ApiClient so all Jackson serializations will start to work correctly.
* Add sample project code for Retrofit Jackson
2023-12-19 10:29:50 +08:00
Jan Sandberg
efe2f8703d
Use modelNameMappings in ruby client ( #17408 )
...
The modelNameMappings were introduced with PRs #16209 , #16234 and are
now also used in the ruby client generator.
2023-12-18 10:59:39 +08:00
Beppe Catanese
58345a9a80
[POSTMAN] Add Samples GitHub workflow ( #17412 )
...
* Add Python tests
* Add workflow to verify Postman samples
* Correct path
2023-12-18 10:52:59 +08:00
William Cheng
809d7151c6
remove auto-generated ruby tests ( #17402 )
2023-12-15 14:47:15 +08:00
dabdirb
e63563a8fc
fix #16889 replace deprecated response code function ( #17405 )
2023-12-15 13:41:14 +08:00
William Cheng
367301de22
deref parameter in normalizer for 3.1 spec ( #17406 )
2023-12-15 12:18:07 +08:00
renaud-twd
a9179e95dd
fix: java apache httpclient should support UTF-8 by default ( #17395 )
...
* fix(java): apache-httpclient serialization error
fixes following related issue:
https://github.com/OpenAPITools/openapi-generator/issues/12797
* docs(java): update samples and docs
2023-12-15 09:01:10 +08:00
Beppe Catanese
0062d1c8da
Do not escape request name ( #17394 )
2023-12-15 09:00:32 +08:00
dependabot[bot]
bc2443ecb0
Bump actions/download-artifact from 3 to 4 ( #17400 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 08:59:24 +08:00
dependabot[bot]
c49701b804
Bump actions/upload-artifact from 3 to 4 ( #17401 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 08:59:09 +08:00
Ween Jiann
b7f31ddda4
Regenerate ( #17389 )
2023-12-13 22:17:15 +08:00
William Cheng
56e2c49e07
update doc
2023-12-13 16:13:31 +08:00
William Cheng
734b922381
[scala-akka-client] Scala Akka client does not support arbitrary query string parameters ( #17386 )
...
* Add check for input if is Map type
* Update Pet samples
* Add PetApi support for filter by Pet property
* Clean up
* update samples
* remove manual test
---------
Co-authored-by: ameenhaq <ameenhaq79@gmail.com >
2023-12-13 16:03:48 +08:00
Tiffany Marrel
42f72192ca
add security feature AWSV4Signature to documentation ( #15603 )
2023-12-13 15:07:18 +08:00
hhomar
28b2c75ac8
Fix issue with URI type in the enum ( #17126 )
...
* fix(java): fix URI inner enum for gson
* fix(java): fix URI enum for gson
* fix(java): fix URI enum for microprofile
* fix(java): fix URI import for native enum
* fix(java): add tests for URI enum
2023-12-13 14:19:51 +08:00
rubiniselvaraj
4c4388e3c8
Fix for handling error in resttemplate ( #17381 )
...
* Fix with handling error
* Fix with handling error
2023-12-13 12:56:02 +08:00
William Cheng
64c85a8fee
Fix NPE in codegen security ( #17378 )
...
* fix npe in codegen security
* add new test file
2023-12-12 22:33:20 +08:00
Hui Yu
2a27fd51a7
[C][Client] Use int* as int or bool type function parameter ( #17179 )
2023-12-12 22:11:13 +08:00
rubiniselvaraj
a792a79059
Implementing retry logic to restTemplate ( #17375 )
...
* Implementing retry logic to restTemplate
* Fixing the issue
* Adding import
* Fix
* Fix
* minor update, add tests
* fix
* Adding the maxRetryAttempt, threadWaitTime as additionalProperty
* Updating the apiClient
* Removing reduntant variable
* Generating samples
* Fixing format
---------
Co-authored-by: Rubini <rubini@Rubinis-MacBook-Air.local >
Co-authored-by: William Cheng <wing328hk@gmail.com >
2023-12-12 22:01:36 +08:00
Aliaksei
809b3331a9
[4947][java]: adds support for validation of primitives in arrays ( #17165 )
...
* [4947][java]: adds support for validation of primitives in arrays
* [4947][java]: prevents generation '@Valid' for Object
* [4947][java]: test against different codegens and stick to primitive
* [4947][java]: code review
* [4947][java]: enhance getBeanValidation
* [4947][java]: adds email
* [4947][java]: removes unnecessary override
* [4947][java]: adds postProcessResponseWithProperty
* [4947][java]: adds missing import {{javaxPackage}}.validation.Valid
* [4947][java]: adds missing useBeanValidation
* [4947][java]: fix use rootJavaEEPackage for helidon
2023-12-11 20:55:38 +08:00
William Cheng
d4d5196907
Better handling of any type in v3.1 spec ( #17370 )
...
* fix NPE in the example generator
* fix any type in 3.1 spec
* use log error instead
2023-12-11 17:13:55 +08:00
William Cheng
62399b1897
add a test for SecretStr in the python client ( #17364 )
2023-12-11 13:18:36 +08:00
Maciej Lewiński
51c8be3f8c
[csharp][generichost] Handle obsolete params and methods ( #17344 )
...
* [csharp][generichost] Handle obsolete params and methods
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2023-12-11 13:17:26 +08:00
Stefan Koppier
7f05c1f41d
[kotlin-client] New generator: kotlin-jvm-spring-restclient ( #17366 )
...
* Created kotlin jvm spring restclient
* Fixed kotlin jvm-spring-restclient
* Fixed earlier problems
* Fixed earlier problems
* Updated kotlin.md
2023-12-11 12:49:36 +08:00
Beppe Catanese
9eb5882f94
OpenAPI 3.1.0 Add webhooks support ( #17174 )
...
* Add support for webhooks
* Test webhook generation with Go Gin server
* Generate samples
* Removing \t
* Remove tabs
2023-12-11 11:21:23 +08:00
Csaba Kozák
8bb9a10b9f
[kotlin-client][multiplatform] use shortcut to access jsMain as well ( #17358 )
2023-12-10 15:15:40 +08:00
TAKAHiRO TOMiNAGA
004c7e8c8d
[Style][Go] standardize the format of mustache (tiny change) ( #17363 )
...
* fix: change indent style to tab in the mustache to generate Go code
* docs: standardize the language names for code blocks
* docs: change indent style to tab in the code blocks
* update: regenerate samples
* `./bin/generate-samples.sh ./bin/configs/*.yaml`
2023-12-10 10:13:49 +08:00
William Cheng
10da7a3c5a
[Ruby] add file download tests ( #17362 )
...
* add new ruby echo api clients
* add tests for ruby faraday file download
* add file download test to ruby Typhoeus
* add ruby workflow, add tests for ruby httpx
* update
* fix
2023-12-09 22:05:27 +08:00
William Cheng
dd36fa09f8
update logbak core to newer version ( #17360 )
2023-12-09 21:59:50 +08:00
William Cheng
5daa145d25
check boolean value returned by createFile ( #17359 )
2023-12-09 21:58:53 +08:00
Tomohiko Ozawa
a21e68182a
enable scopes for all security scheme types ( #17083 )
2023-12-09 21:58:01 +08:00
Daniel
583184888f
Ruby Client for Faraday: fix file downloading ( #17333 )
...
* Ruby Client for Faraday: fix file downloading
In MR #16876 , a bug was introduced that causes file downloading to fail
for the Faraday adapter.
This commit fixes the obvious missing parameter for the method
call to download_file() and the missing variable `request` for saving the
response value of the call to build_request().
Signed-off-by: Daniel Schnell <dschnell@grammatek.com >
* Add automatically generated changes.
---------
Signed-off-by: Daniel Schnell <dschnell@grammatek.com >
2023-12-09 10:49:00 +08:00
Omar Osman
351f764746
Fix broken link to csharp-netcore generator ( #17322 )
...
* Fix broken link to csharp-netcore generator
The example source URL of the csharp-netcore generator pointed to the master version of the repo, but the generator has been renamed or removed and the URL is broken. I updated the link to the latest pre 5.0.0 version, since the text talks about pre 5.0.0 version of the openapi generator.
* Update link to point to csharp generator
2023-12-08 22:16:44 +08:00
Erik Booij
95af601586
fix: go-server unresolved function NewstringFromValue for enums ( #17316 )
...
* fix: go-server unresolved function NewstringFromValue for enums
* fix: go-server change isRef to isEnumRef in controller-api template
2023-12-08 22:07:59 +08:00
Dennis Melzer
e37decff7b
Add Java Optional for POJOs in JavaSpring templates ( #17202 )
...
* Add optional parameter for request body
* Adapt Test
* Add test
* Format code
* Remove extra method
* Add optional for pojos
* Add optional for pojos
* Add bean validation for Optional
* Add default values + test
* Rename test
2023-12-08 21:46:13 +08:00
Vladislav Bauer
62462354ca
[csharp] Support 420 HTTP code ( #17207 )
...
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
2023-12-08 21:35:03 +08:00
Gintautas Miselis
c159abfdad
[typescript-axios] Allow enum attribute to be nullable ( #17265 )
...
Fixes #17264
2023-12-08 13:27:33 +01:00
mymx2
e37cf901a8
fix(typescript-axios): use baseURL of (custom) axios instance ( #17296 )
...
Co-authored-by: ddd <ddd>
2023-12-08 13:27:08 +01:00
Leonid Olevskii
3762277206
Use .Content of for accessing response body in powershell ( #17342 )
2023-12-07 22:50:33 +08:00
dependabot[bot]
1b2917d69f
Bump actions/setup-python from 4 to 5 ( #17338 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 11:28:14 +08:00
dependabot[bot]
f593adff18
Bump actions/setup-go from 4 to 5 ( #17337 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 11:28:01 +08:00
William Cheng
2c9fbf81a7
add enum name mapping to ada codegen ( #17299 )
2023-12-06 17:50:03 +08:00
Robert Schweizer
6a43a371f1
fix: Configure python urllib3 connection pool size ( #17323 )
...
This was removed in #16802 , but using a higher value than 1,
or at least making this configurable makes complete sense.
Without this, we get a lot of these log messages:
[ WARNING] Connection pool is full, discarding connection:
2023-12-06 15:49:10 +08:00
William Cheng
6230248716
update php samples
2023-12-06 14:56:53 +08:00
Viktor Szépe
33149569a3
Fix PHP constructor docblock ( #17324 )
2023-12-06 14:51:52 +08:00
devhl-labs
0ab9f74cfb
use keyParamName ( #17328 )
2023-12-06 14:49:55 +08:00
Viktor Szépe
39d5b4ebf9
Replace stray TAB characters with spaces ( #17311 )
...
* Replace stray TAB characters with spaces
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2023-12-05 18:01:25 +08:00
William Cheng
391df3b81c
update samples
2023-12-05 15:36:33 +08:00
Viktor Szépe
889c6fe7a1
Fix non-four indents in PHP templates ( #17309 )
2023-12-05 15:27:43 +08:00
Viktor Szépe
0ee662b515
Fix parameter names in Configuration ( #17305 )
2023-12-05 15:26:52 +08:00
dependabot[bot]
d9b795171a
Bump actions/setup-dotnet from 3.2.0 to 4.0.0 ( #17312 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v3.2.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 15:25:54 +08:00
Beppe Catanese
e8e7a210c3
Skip escaping path parameter description ( #17304 )
2023-12-05 15:21:18 +08:00
William Cheng
cdb020d044
add enum name mapping option to swift generators ( #17297 )
2023-12-05 15:06:31 +08:00
William Cheng
bbd0ce38be
add enum mapping option to dart generators ( #17298 )
2023-12-04 12:32:36 +08:00
William Cheng
ac45e3ddab
add enum name mapping feature to the rust generators ( #17290 )
2023-12-04 10:53:11 +08:00
William Cheng
b19bc59c6a
add enum name mapping feature to go generators ( #17289 )
2023-12-04 10:52:58 +08:00
devhl-labs
2967b33ab6
[csharp][generichost] Added enum for api key names ( #17295 )
...
* added enum
* added enum
2023-12-04 10:44:12 +08:00
Martin Delille
95340d5264
[cpp-qt-client] pass QString by const reference instead of by value ( #16793 )
...
* [cpp-qt-client] pass QString by const reference instead of by value
* Add another signal instead of changing its signature
* Bump qt version
* Fix CODEOWNERS
* Try to fix workflow
* use v3
* Remove openssl from windows build
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2023-12-03 18:14:22 +08:00
Beppe Catanese
62faa53373
[POSTMAN] Include header description ( #17292 )
...
* Include header description
* Generate samples
2023-12-03 08:06:09 +08:00
Beppe Catanese
6657b2c5c2
[POSTMAN] Query parameter description ( #17291 )
...
* Include query parameter description
* Generate samples
2023-12-03 08:05:44 +08:00
YusukeOba
64e5266556
[kotlin-client] Fixed an issue where compilation fails when an enum of type integer is used as a query parameter ( #17178 )
2023-12-02 18:54:34 +08:00
Beppe Catanese
ac78f1e85b
[POSTMAN] Enabling required query parameters ( #17281 )
...
* Enable required query parameters
* Generate samples
2023-12-02 17:41:05 +08:00
William Cheng
f834519aeb
move config file to unmaintained to avoid samples outdated errors
2023-12-01 11:29:09 +08:00
SAIA-Basseldonk
8911740924
[BUGFIX][Rust] Array with unique enum items no longer causes mismatched types error ( #17197 )
...
* check args to fn new for uniqueItems
* Added model with unique items for template testing
* build the project and update samples
* Removed testcase from fake petstore spec
2023-11-30 22:08:37 +08:00
William Cheng
f033b11408
Update JAX-RS client samples ( #17262 )
...
* update jaxrs client samples
* move configs
2023-11-30 21:39:42 +08:00
Dennis Melzer
939ffdd73c
Add bean validation for primitive container type 17450 ( #17157 )
...
* Add optional parameter for request body
* Adapt Test
* Add test
* Format code
* Remove extra method
* Format code
2023-11-30 20:28:45 +08:00
William Cheng
4c4d0e485a
[java] Update logback to newer versions ( #17259 )
...
* update logback to newer versions
* update
2023-11-30 18:51:46 +08:00
Beppe Catanese
4a1db3f1e6
[JAVA] Jersey3 deprecate class attribute ( #17223 )
...
* Deprecate attribute
* Generate samples
2023-11-30 13:50:30 +08:00
dependabot[bot]
77127ecf65
Bump actions/setup-java from 3 to 4 ( #17252 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-30 13:50:10 +08:00
Beppe Catanese
a8ac32238b
[BUG] OpenAPI normalizer ignoring common parameters ( #17236 )
...
* Normalize common and operation parameters
* Test normalize schema v3.1
2023-11-30 10:31:31 +08:00
Beppe Catanese
fd58539fe9
[JAVA] Jersey3 deprecated field only deprecates getter method ( #17221 )
...
* Deprecate build and setter methods
* Generate samples
2023-11-29 21:54:17 +08:00
William Cheng
9184560597
remove unused CI files ( #17217 )
2023-11-29 18:05:46 +08:00
William Cheng
46dd87525e
Add tests for max,min items in array (rust-server) ( #17215 )
...
* add tests for max,min items in array (rust server)
* fix both min, max items
2023-11-29 16:21:54 +08:00
Vance Shipley
14c12fc617
include {min|max}Items validation in rust-server models ( #17201 )
2023-11-29 15:06:59 +08:00
devhl-labs
fb429f7e94
[csharp][generichost] Do not assume api keys are interchangeable ( #17185 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
* allow multiple headers to have api keys
* removed commneted code
* fixed all but standard
* fixed standard
2023-11-28 10:54:34 +08:00
Xiangxuan Qu
8669646d99
fix: chsarp get file name from content disposition ( #17183 )
...
* fix: chsarp get file name from content disposition
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2023-11-27 20:32:41 +08:00
William Cheng
e2a8118c86
add enum name mapping support to php generators ( #17195 )
2023-11-27 20:26:28 +08:00
William Cheng
ac687657ba
add enum name mapping feature to C# generators ( #17194 )
2023-11-27 20:26:12 +08:00
William Cheng
a117dd55f1
add enum name mapping feature to kotlin generators ( #17193 )
2023-11-27 20:25:15 +08:00
devhl-labs
4f82071502
[csharp][generichost] Honor the Set-Cookie header ( #17186 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
* allow multiple headers to have api keys
* remove changes for another pr
* resolved conflicts, build samples
* fixed a casing issue
* fixed casing issue
2023-11-27 11:01:05 +08:00
Csaba Kozák
9fa3aec2e0
[kotlin-client][multiplatform] update dependency versions ( #17180 )
2023-11-26 21:58:22 +08:00
devhl-labs
3fa21b5603
do not inherit additional properties ( #17140 )
2023-11-26 21:49:00 +08:00
devhl-labs
ad95d551ed
[csharp][generichost] Allow multiple auth methods of same type ( #17129 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
2023-11-26 21:46:48 +08:00
devhl-labs
8bea7f7377
handled nullable inner enums better ( #17128 )
2023-11-26 21:45:25 +08:00
William Cheng
4c6dbfe7d6
fix build errors in jdk 11 ( #17177 )
2023-11-24 17:40:13 +08:00
dependabot[bot]
7c551e65dd
Bump s4u/setup-maven-action from 1.10.0 to 1.11.0 ( #17175 )
...
Bumps [s4u/setup-maven-action](https://github.com/s4u/setup-maven-action ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/s4u/setup-maven-action/releases )
- [Commits](https://github.com/s4u/setup-maven-action/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: s4u/setup-maven-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-24 12:54:35 +08:00
William Cheng
0d2a01611c
update samples
2023-11-23 11:46:06 +08:00
William Cheng
0dbc108d62
Add openapiGeneratorIgnoreList option to pre-populate .openapi-generator-ignore ( #17164 )
...
* add openapiGeneratorIgnoreList option to pre-populate .openapi-generator-ignore
* minor fix
* better code format
* add tests
2023-11-23 11:10:29 +08:00
William Cheng
a93bab077f
Add openapi-normalizer rule to set tags to operationId ( #17161 )
...
* add normalizer rule to set tags to operationId
* update
2023-11-23 11:09:09 +08:00
William Cheng
aaed846f5f
Update Dockerfile (cli, online) to use eclipse-temurin:17.0.3_7-jre-focal ( #17139 )
...
* add tests for openapi-generator-cli dockerfile
* trigger workflow
* add cp
* restore
* use eclipse-temurin:17.0.3_7-jre-focal
* update dockerfile
* update image to newer version
2023-11-23 11:08:31 +08:00
Rick Dutour Geerling
917d671d2c
Fix typescript-fetch to support nullable enum properties ( #17153 )
2023-11-22 18:44:08 +00:00
Csaba Kozák
3f033c0974
[kotlin-client][multiplatform] fix iosSimulatorArm64 source sets ( #17167 )
2023-11-22 17:57:51 +00:00
Csaba Kozák
ab0b44a1c4
[kotlin-client] add support for kotlinx-datetime ( #17166 )
...
Closes #14490
2023-11-22 17:52:37 +00:00
William Cheng
7bf9534034
update option description (java client)
2023-11-21 12:29:43 +08:00
Vignesh
87b86c78dc
feat: Support useSingleRequestParameter feature for java microprofile client generation ( #17072 )
2023-11-21 11:56:11 +08:00
Makoto Suzuki
baaf759440
[python-fastapi]Add an alias keyword parameter for Query parameter ( #17111 )
...
* add alias to endpoint_definition
* regenerate source code
2023-11-21 11:34:43 +08:00
Pat Buxton
9970c06f8c
Adds basic retries to rest API requests for Python asyncio ( #17014 )
...
* Adds basic retries to API requests
* This mimics the basic retries performed by urllib3 in the sync version
* update samples
* Only use retry client if number of retries is specified in the config
* Reorganize
* Remove class attribute
* close retry_client
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2023-11-21 10:42:34 +08:00
Max-Julian Pogner
489d369ee7
README: update url for maven-wrapper ( #17142 )
...
According to information posted at the old url https://github.com/takari/maven-wrapper (most recent commit 2b2c15adc38acfcf17533f5d7aff220ba87256ba as of this writing),
the new official project url of maven wrapper now is https://maven.apache.org/wrapper/
2023-11-20 11:29:43 +08:00
William Cheng
0401c46147
Fix missing objects when defining inline anyOf, or oneOf ( #17141 )
...
* better handling of composed schema in inline model resolver
* better handling of example
2023-11-20 10:24:57 +08:00
William Cheng
6d93b0ec83
Fix handling of composed schema in inline model resolver ( #17138 )
...
* fix handling of composed schema in inline model resolver
* update samples
2023-11-19 23:24:49 +08:00
William Cheng
8e36014ae6
update samples
2023-11-19 17:36:25 +08:00
William Cheng
97704841c5
Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator
2023-11-19 17:31:36 +08:00
Barak Amar
63c8d0e071
python docs templates minor fixes ( #17133 )
2023-11-19 17:29:59 +08:00
William Cheng
186fde250b
[spring-cloud] add http basic test ( #17135 )
...
* update samples
* add tests for spring cloud http basic
* fix path
* update samples
2023-11-19 16:07:28 +08:00
William Cheng
bf6145506d
update samples
2023-11-19 15:26:38 +08:00
Vedant Chokshi
4fd5603075
Fix JavaSpring clientConfiguration's ConditionalOnProperty import ( #17027 )
2023-11-19 15:22:04 +08:00
greenbourne277
685d9445c2
[Kotlin] fix: match tags of closing brackets with opening ones ( #12976 ) ( #17117 )
...
Trying to generate Kotlin code for CookieAuth will result in a malformed
ApiClient.kt for function updateAuthParams. The code block has a closing
bracket too much.
Co-authored-by: Christian Bay <christian.bay@posteo.net >
2023-11-19 14:44:31 +08:00
Robert Schweizer
75ff110449
[python] Some cleanup of samples folder ( #17127 )
...
* Delete sample folders of discontinued clients
* Remove duplicate python-flask server sample
The python-flask sample actually lives in samples/server/petstore/python-flask.
* Move hand-written test to "tests" folder
Now, "test" only contains generated stubs and all hand-written tests are in "tests".
* Delete left-over files in Python samples
These are not created by the generators (anymore) and not hand-written
for testing.
* Regenerate test file to fix import error
2023-11-19 14:43:34 +08:00
William Cheng
1da970b3b1
fix comparison using equals ( #17132 )
2023-11-19 14:41:39 +08:00
Xiangxuan Qu
a577db895c
fix[csharp]: The Deserialize should use the ClientUtils to handle the headers. ( #16604 )
2023-11-18 14:41:17 +08:00
William Cheng
8258cde110
[jmeter] Fix exception when operationId has $ ( #17125 )
...
* fix exception when operationId has $ in jmeter
* add tests
2023-11-18 14:38:19 +08:00
Tomohiko Ozawa
4bedeef643
[Java][apache-httpclient][feign][okhttp-gson] Enable access token refresh ( #17086 )
...
* add setter of bearer token supplier
* run generate-samples.sh
* add test of bearer auth
2023-11-18 12:46:18 +08:00
Petar Karadzhov
dc4c72c85c
[BUG] [dart-dio] Support for Analyzer configuration options changes in Dart 3 ( #17099 )
2023-11-18 12:46:03 +08:00
Csaba Kozák
3e5049565d
[kotlin-client][multiplatform] add iosSimulatorArm64 target ( #17058 )
2023-11-18 10:47:23 +08:00
Robert Schweizer
5e7f2f274c
fix: Annotate free-form object as dict in Python ( #17082 )
2023-11-18 10:46:01 +08:00
Artur Neumann
0098d56a6a
[PHP-NG] allow 'object' type in serializer ( #17118 )
2023-11-18 10:41:36 +08:00
William Cheng
eabd9401bf
fix rust client test ( #17124 )
2023-11-18 10:37:54 +08:00
Markus Lenger
1ce95ff41e
Map type date to correct rust type NaiveDate ( #17095 )
...
* Fix clippy errors (rustc 1.73.0)
* Add feature docker-in-docker
* Fix mapping of "date"
See issue #9769
The type
type: string
format: date
was mapped to DateTime<Utc> which violates the OpenAPI spec
see https://swagger.io/docs/specification/data-models/data-types/
2023-11-18 10:33:45 +08:00
Artur Neumann
5c69284928
[PHP-NG] convert data to string before giving it to preg_match ( #17119 )
2023-11-18 10:17:34 +08:00
Artur Neumann
3552935a5b
[PHP-NG] don't nullify mixed types ( #17116 )
2023-11-18 10:15:14 +08:00
Aurélien Joga
1f5b590d5a
Python-server workflow fixes + pytest ( #17060 )
...
* Fix referenced path for tests
* Explicit dependencies
Flask 2.3 has breaking changes
* Marks all async tests with pytest.mark.asyncio
Otherwise they are skipped by pytest and coverage is zero
* Fix path for pytest
On suggestion from https://github.com/OpenAPITools/openapi-generator/pull/17060#discussion_r1392666369
2023-11-18 10:10:10 +08:00
Emanuele Saccomandi
a2c1b02840
added required fields to zapier models generation ( #17115 )
2023-11-18 10:09:17 +08:00
Artur Neumann
f81d44bb29
[PHP-NG] check if json_decode was able to decode response ( #17120 )
2023-11-18 10:08:32 +08:00
William Cheng
195f27de1f
update rest-assured dep to newer versions ( #17107 )
2023-11-17 10:35:54 +08:00
William Cheng
07620cebe2
update webclient dep to newer version, add tests ( #17106 )
2023-11-17 10:34:22 +08:00
William Cheng
dcccd06a9a
Revert "Use JDK17 images in Dockerfile ( #17076 )" ( #17104 )
...
This reverts commit bae20c1887 .
2023-11-16 23:35:11 +08:00