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 a486a6de7528302db92c36e64dcd20d41ada51b9.
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