Andriy Dmytruk
47f07158a3
[Micronaut] Add support for OffsetDateTime for Micronaut generators ( #11871 )
...
* Fix test output folder error for MicronautServerGenerator
* Add java8 OffsetDateTime support for Micronaut Codegens
2022-03-16 00:05:55 +08:00
Yuriy Belenko
a44c7e0753
[php-slim4] Add minimal GitHub Action config ( #11874 )
...
* Add minimal GitHub Action
* Refresh samples
2022-03-15 23:41:03 +08:00
Yuriy Belenko
5c4181d17a
[php-slim4] Tiny config comments ( #11875 )
...
* Add config file comments
I found Slim example with more descriptive comments of error settings.
@see b8c6379c70/settings.php.dist
* Refresh samples
2022-03-15 23:36:56 +08:00
satackey
213828d01b
[PHP] Fix deprecations in PHP 8.1 ( #11743 )
...
* Fix deprecations in PHP 8.1
* Use `bool` type instead of boolean
2022-03-15 16:20:05 +03:00
HexagonSun
834b50233e
[typescript-angular] Prevent syntax error when using isDateTime=true ( #11860 )
...
Fixes a bug where the the `append` method's closing brace was not
generated when using code-generation option `isDateTime=true`.
Fixes #11267 .
2022-03-15 14:02:37 +01:00
William Cheng
82b7dee480
update java jersey2 dependencies to newer versions ( #11878 )
2022-03-15 18:38:34 +08:00
William Cheng
2db3070b2d
Update java (okhttp-gson) client dependencies to newer versions ( #11877 )
...
* update java okhttp-gson client dependencies to newer versions
* update samples
2022-03-15 18:38:12 +08:00
William Cheng
7ea5d158f2
[Go] fix oneOf naming ( #11863 )
...
* update samples
* add lambda to handle oneof/anyof naming in go
2022-03-15 12:47:09 +08:00
Cameron Koegel
266de25cf3
[Python] Added Support for Validating and Converting Model Attributes ( #11134 )
...
* [Python] Added Support for Validating and Converting Model Attributes
* generate new samples
* remove attribute error
* update samples
* revert old changes
* changed spec_property_naming default to true
* regenerated samples
* regenerate samples
2022-03-15 00:35:39 +08:00
Jason Froehlich
a3c5bbb09a
Added field and class level annotations to the pojo.mustache ( #11775 )
...
* Added field and class level annotations
Added x-class-extra-annotation and x-field-extra-annotation for class and field level annotations per object/field
* added field and class level extra annotations to pojos
* Updated samples
* Removed duplicate line
* Updated samples
2022-03-13 21:55:25 +08:00
William Cheng
7ac90ed98f
[Go] add more tests to cover more cases ( #11849 )
...
* more tests for go client
* add new files
* update samples
* add more tests
2022-03-11 10:42:24 +08:00
NoTuxNoBux
795db0c19e
Fix incorrect FileParameter deserialization in csharp-netcore ( #11850 )
2022-03-11 10:37:45 +08:00
Noah Fontes
6f37409d2b
Fix nullable models embedded in allOf ( #11804 )
...
It is possible, though contrived, for a property to have both isAnyType
and isModel set. In this case, when the outer type is nullable, the Go
template expects a Nullable* type to be provided by the generator, but
it is skipped over instead. This change aligns the generator with the
template's expectations.
2022-03-10 16:31:44 +08:00
devhl-labs
22a1906480
[csharp-netcore] Upgrade to System.Text.Json ( #11741 )
...
* refactor nrt annotation
* enable nrt by default in .net6.0+
* use shorter nrt annotation
* build samples
* removed debugging lines
* fixed model and operatoin constructors
* reverted a commented line for comparison
* upgraded to System.Text.Json
* build samples
* build samples
* deleted samples to remove old files
* bug fixes
* bug fixes
* added tasks to track the bugs
2022-03-10 15:02:42 +08:00
Oleh Kurpiak
fb2c41c720
[Java] implicit headers regex ( #11819 )
2022-03-10 10:49:52 +08:00
Gustavo De Micheli
26f65de5ec
Add auto-generated doc to scala-akka client ( #11840 )
...
Co-authored-by: Gustavo De Micheli <gustavo.de.micheli@lunatech.com>
2022-03-10 10:04:51 +08:00
Cameron Koegel
fd1ede6a73
[Python] Added Ability to Initialize Models by Passing in Dictionaries ( #11125 )
...
* [Python] Added Ability to Initialize Models by Passing in Dictionaries
* formatting change
* generate new python samples
2022-03-09 09:41:15 -08:00
wirthual
7ed7930bab
fixed wrong intendation error ( #11834 )
2022-03-09 11:21:54 +08:00
Noah Fontes
a4e1717fd2
Fix Go template for oneOfs with primitive types ( #11826 )
...
A recent enhancement to the template made these primitive types usable
as property names, but a small section of the template wasn't updated,
leading to compilation problems.
2022-03-09 01:56:53 +08:00
Spencer Stolworthy
6bc50ee57f
Added outputAsLibrary, onlyInterfaces additional-properties to go-server ( #11563 )
2022-03-09 01:48:05 +08:00
Cameron Koegel
94b1440074
[Python] Add Support for Content-Disposition Header without filename ( #11055 )
...
* [Python] Add Support for CD header w/o filename
* updated documentation per PR instructions
* fixed formatting and updated samples and docs
* revert docs changes
* regenerate python samples
* updated sample python test
2022-03-09 01:10:49 +08:00
Cameron Koegel
b1c6513015
[Ruby] Added Support for Building Models from Hashes with Strings as Keys ( #11243 )
...
* [Ruby] Added Support for Building Models from Hashes with Strings as
Keys
* generate samples
2022-03-09 00:59:53 +08:00
Katsuyuki Omuro
16fd760b16
[Ruby] Add x-group-parameters support to Ruby client ( #11825 )
...
* add group parameter support to Ruby templates
* update generated sample files
2022-03-09 00:52:46 +08:00
Bruno Coelho
00ef435018
[swift5][client] create comment to warn about android api version ( #11830 )
2022-03-09 00:03:02 +08:00
Slawomir Kwasniak
0e4eb50af2
Fix typo in supportAndroidApiLevel25AndBelow help ( #11821 )
...
Obvious typo in the kotlin help description of the
`supportAndroidApiLevel25AndBelow` configuration parameter i.e.
`in oder` instead of `in order`.
Co-authored-by: Slawomir Kwasniak <slawomir.kwasniak@hensoldt-cyber.de>
2022-03-09 00:01:23 +08:00
Radek Postołowicz
c22997b9b8
Cleanup Jackson type info mess fixes ( #9441 ) ( #11691 )
...
* Cleanup Jackson type info mess fixes (#9441 )
* fixup! add import mapping for JsonIgnoreProperties
2022-03-07 09:36:05 +08:00
William Cheng
482032d14f
fix warnings due to incorrect docstring ( #11815 )
2022-03-07 09:23:09 +08:00
Oleh Kurpiak
382e2a22a8
Document all used vendor extensions in specific generator ( #11797 )
2022-03-06 23:21:55 +08:00
Abrhm7786
be8567f656
V4 Azure functions + some tweaks ( #11345 )
...
* Copying files from LeonB's fork
* Changes as per PR comments
* Resolved merge conflict
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-03-06 23:20:04 +08:00
Pang
7466bc2ed6
[Client:C] [C-libcurl] cmake support specify path ( #11790 )
2022-03-06 22:39:21 +08:00
William Cheng
79872523d6
add tests, better code format ( #11814 )
2022-03-06 22:34:33 +08:00
paritoshgote-msft
a1862ff5ce
Fix ClientCertificates plumbing for csharp config. ( #11711 )
...
Fixes the injection of ClientCertificates in Configuration.mustache for csharp netcore and netcore-functions.
2022-03-06 22:00:03 +08:00
방진영
284fbdfc4d
Fix list keyword ( #11806 )
2022-03-06 21:41:38 +08:00
Emanuele Saccomandi
9efda42d57
fixed csharp netcore conditional serialization ( #11710 )
2022-03-06 21:22:04 +08:00
Oleh Kurpiak
877812d0ba
[Java] use x-implements ( #11784 )
2022-03-06 21:00:26 +08:00
Noah Fontes
31f0c65378
Fix example generation when missing models ( #11805 )
...
For some buggy configurations, a warning is emitted indicating that for
a given request body the corresponding CodegenModel could not be found.
When this happens, some generators produce NPEs when writing out example
code. This change avoids the NPEs by providing a stub value instead.
2022-03-05 14:31:54 +08:00
Juha Syrjälä
23e44abda3
Fix jaxrs-spec to run with JDK 17 ( #11798 )
...
JDK17 is missing class `javax.annotation.Generated`.
Add javax.annotation:javax.annotation-api 1.3.2
Fixes https://github.com/OpenAPITools/openapi-generator/issues/11795
2022-03-05 14:21:05 +08:00
chatelao
79d9193374
Confluence Wiki - Escape special characters ( #11786 )
...
The Confluence Markup needs to escape some characters.
2022-03-04 23:15:22 +08:00
pichlau
5128e88f5f
Fix for issue #11779 ( #11781 )
...
Adding in the mustache template of the description value in @Operation annotation.
2022-03-04 23:08:40 +08:00
Oleh Kurpiak
2e0dc573b3
[Java][WebClient] allow sync requests ( #11780 )
2022-03-04 22:58:03 +08:00
Oleh Kurpiak
3656ec5260
[Java] remove samples & replace them with file asserts ( #11773 )
2022-03-03 19:58:03 +08:00
Laurens-W
5ad9f1889e
[DefaultCodegen] GetReferenceHeader for both calls of headerToCodegenParameter ( #11756 )
...
* GetReferenceHeader for both calls of headerToCodegenParameter
* Moved dereferencing of header outside of headerToCodegenParameter
Co-authored-by: Westerlaken, H.L. (Laurens) <laurens.westerlaken@devolksbank.nl>
2022-03-02 07:22:59 -08:00
William Cheng
8c023fae19
replace tabs with spaces in rust generator
2022-03-02 19:23:13 +08:00
sdoeringNew
53c2c66682
#8881 : add ESM to typescript-fetch ( #11720 )
...
In case of "supportsES6" an additional tsconfig.esm.json is created. That will add an ECMAScript module to the npm build.
2022-03-02 08:37:54 +01:00
Karsten Thoms
6a7fc38fb9
[ #4650 ] Fix StackOverflowError for recursive composite schemas ( #11620 )
...
The generator ran into a loop when a composite schema recursively added itself. This change provides a reproducing example and fixes the issue by extending DefaultCodegen#addProperties() by an additional circuit breaker parameter.
When additionalProperties() is called with a schema instance for which the properties have already been added, the method directly returns and does not run into the loop.
2022-03-02 01:35:47 +08:00
Jérôme Jutteau
21f649e087
[Rust] Support for withAWSV4Signature option ( #11690 )
...
* [rust] add support for withAWSV4Signature option in reqwest (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
* [rust] add petstore sample for withAWSV4Signature option for reqwest (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
* [rust] update all samples (#11193 )
Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
2022-03-02 01:20:58 +08:00
Sergey Vladimirov
1b6ab63953
Add beanQualifiers option to kotlin-server ( #11745 )
2022-03-02 00:57:30 +08:00
Yohei Kitamura
f03b1e7261
[ruby] Allow boolean for discriminator value in oneOf handling ( #11750 )
2022-03-02 00:43:33 +08:00
LeComptoirDesPharmacies
dfc471dd90
LDS-2228 : remove undefined headers ( #11757 )
...
Remove undefined value from header
Envoyé depuis mon iPhone.
P.S. : Ce commit est certifié sans gluten
Co-authored-by: Géry THRASIBULE <g.thrasibule@lecomptoirdespharmacies.fr>
2022-03-01 17:37:56 +01:00
bgong-mdsol
417d69425a
[scala-sttp] fix enumeration operator constant name collision ( #10596 )
...
* fix enumeration operator onstant name collision
* test to verify OperatorName
2022-03-02 00:32:25 +08:00