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