William Cheng
8c1f4b1a62
Add containerType to codegen parameter ( #15830 )
...
* add containerType to codegen parameter
* add test for map container type
2023-06-15 11:51:39 +08:00
William Cheng
b42234eb3c
[python] Fix map of array in property ( #15844 )
...
* fix map of array in property (python)
* update samples
2023-06-15 11:50:56 +08:00
William Cheng
afca85acf5
update scala doc
2023-06-14 17:42:27 +08:00
Adam Rybicki
522368160a
Scala sttp stability change ( #15842 )
...
* changed stability in ScalaSttpClientCodegen
* updated files from scripts
---------
Co-authored-by: Adam Fish Rybicki <adamrybicki@adams-macbook-pro.home>
2023-06-14 17:32:11 +08:00
Peter Lamby
7812dd525c
[BUG][typescript] add missing importFileExtension support ( #15813 )
2023-06-14 08:04:33 +02:00
JanLubenow
175876a105
[BUG][JAVA] Handling default values leads to wrong defaults or not compilable code fixed ( #15836 )
...
* (fix): default values for array types will be handled a bit more appropriate
* (fix): remove commented out block
2023-06-14 11:18:11 +08:00
devhl-labs
6a1626c8e7
[abstract-csharp] Make data types overridable ( #15814 )
...
* added new vendor extenion
* moved code to methods to enable overriding
* fixed tests
* renamed method to setTypeMapping
* removed commented code
* moved code to make diff easier to understand
* removed commented code
2023-06-14 10:47:46 +08:00
Oleh Kurpiak
3b832c9fd4
[Java][Client] remove model annotations from AbstractOpenApiSchema ( #15808 ) ( fix #15684 )
2023-06-13 18:40:36 +03:00
Ghufran Zahidi
9fe5cc0b01
[csharp-netcore] Configure the API key in string format for HttpSigningConfiguration ( #15818 )
...
* added property in HttpSIgningConfiguration to accept API key in string format.
* remove trailing space, update samples
* updated the sample code.
* Revert "updated the sample code."
This reverts commit 5b945c7a59ef03782dc5f48d97784894d6b41614.
* fix the sample code compilation error for split function.
* updated the sample code after the split function fix.
* Removed the either or check for filePath or KeyString.
---------
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>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-13 21:49:33 +08:00
William Cheng
37d8a0d3ff
Add java-webclient gradle test ( #15837 )
...
* add gradle test for webclient swagger2 annotation
* trigger build
2023-06-13 21:32:40 +08:00
JanLubenow
96b3488a07
[BUG] [Java-Spring] Required-Fields-Constructor has wrong super call when using multiple inheritance layers ( #15827 )
...
* (fix): required-fields constructor uses super-call-parameters in the order of the parent required-field constructor
* (fix): required-fields constructor uses super-call-parameters in the order of the parent required-field constructor - add issue number
* (fix): required-fields constructor uses super-call-parameters in the order of the parent required-field constructor - fix file reference
2023-06-13 21:13:31 +08:00
Dušan Plavák
0504c21209
[spring] Fix invalid swagger2 annotation library version in pom.xml ( #15832 )
2023-06-13 21:07:30 +08:00
Frederic Jones
43b1ce2c89
Fix typo on swagger2 dependency ( #15826 )
2023-06-13 21:02:58 +08:00
zbarbuto
e5a9081456
[dart-dio] Use sourceFolder property instead of src ( #15620 )
2023-06-13 16:09:33 +08:00
devhl-labs
3ea09c2855
added new vendor extenion ( #15806 )
2023-06-13 15:55:18 +08:00
Jérôme Prinet
89056986b6
Enable Dependabot on Maven extensions ( #15820 )
2023-06-12 20:29:22 +08:00
Jérôme Prinet
9a3e6c7e38
Add Revved up by Gradle Enterprise badge ( #15819 )
2023-06-12 20:28:47 +08:00
William Cheng
d2e10a7229
install urllib3 < 2.1.0 ( #15810 )
2023-06-12 15:58:51 +08:00
Bruno Medeiros
ca80fcd03e
fix(ktor-client): do not add jsonBlock if using kotlinx-serialization ( #15793 )
...
* fix(ktor-client): do not add jsonBlock if using kotlinx-serialization
* update existing templates
* add new kotlin-jvm-ktor-kotlinx_serialization
* add new kotlin-jvm-ktor-kotlinx_serialization to samples-kotlin-client.yaml pipeline
actually, kotlin-jvm-ktor-gson was duplicated, so I'm replacing the second one by kotlin-jvm-ktor-kotlinx_serialization
* extra FILES entry in the template
* enumUnknownDefaultCase=false for now since it's currently broken for ktor + kotlinx_serialization
* use openapi 3 petstore
2023-06-11 20:45:20 +08:00
Oleh Kurpiak
170a2f44fa
fix compilation after class renaming
2023-06-11 12:50:52 +03:00
devhl-labs
9b305318b4
[abstract-csharp] Begin removing netcore references ( #15805 )
...
* find and replace CSharpNetCoreClientCodegen
* find and replace CsharpNetcoreFunctionsServerCodegen
* find and replace CSharpNetCoreReducedClientCodegen
* find and replace AspNetCoreServerCodegen
* renamed generators
* find and replace CSharpNetCoreClientCodegenTest
* find and replace CSharpNetCoreClientDeepObjectTest
* find and replace CsharpNetcoreFunctionsServerCodegenTest
* git mv files
* find and replace CsharpFunctionsServerCodegenTest
* find and replace CsharpModelEnumTest
* git mv CsharpModelEnumTest.java
2023-06-11 17:06:12 +08:00
William Cheng
5b0c021f26
better null check in isExtensionParent ( #15807 )
2023-06-11 16:34:59 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
William Cheng
21748e024a
add py.typed ( #15804 )
2023-06-10 21:48:54 +08:00
Tiffany Marrel
fe2dde3708
[Postman] fix use of isBasic from #15294 ( #15760 )
2023-06-10 21:06:42 +08:00
Beppe Catanese
f240ed4e4e
[Go] Serialize readonly fields ( #15765 )
...
* Do not skip readOnly fields in ToMap()
* Regenerate sample
* Add test
* Correct test
2023-06-10 19:23:52 +08:00
William Cheng
1fb0ab997f
[Python] fix access_token set to None when constructing Configuration object ( #15802 )
...
* clean up files
* add tests for access_token
* fix bug with access_token
* update test method name
2023-06-10 19:22:02 +08:00
gyoganathan
fc474eab5f
Added BadRequestException as a subclass in python ( #15722 )
...
Co-authored-by: Gomathi Yoganathan <gyoganathan@C02G45FPMD6R.corp.proofpoint.com>
2023-06-10 15:27:18 +08:00
Heiko Studt
586626498d
[Python] default values escaping more appropriate ( #15695 )
...
Fixes #15541
2023-06-10 15:26:20 +08:00
Tiffany Marrel
5cf7ed928b
fix security features listed in documentation - remove openID Connect by default ( #15773 )
2023-06-10 13:56:46 +08:00
dependabot[bot]
9d274cffca
Bump s4u/setup-maven-action from 1.7.0 to 1.8.0 ( #15800 )
...
Bumps [s4u/setup-maven-action](https://github.com/s4u/setup-maven-action ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/s4u/setup-maven-action/releases )
- [Commits](https://github.com/s4u/setup-maven-action/compare/v1.7.0...v1.8.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-06-10 13:56:09 +08:00
devhl-labs
acc8274528
minor spacing change ( #15801 )
2023-06-10 13:53:46 +08:00
William Cheng
5a7be59967
Update bitrise.io config ( #15789 )
...
* update bitrise.io
* fix build
* avoid using mvn
* remove mvn
* update
* skip
* [swift5][client] fix CI issue cyclic dependency
* trigger build
* comment out vapour
* alarmfire
---------
Co-authored-by: Bruno Coelho <4brunu@gmail.com>
2023-06-09 20:38:27 +08:00
Jérôme Prinet
113cf9db40
Allow configuration cache compatibility ( #15693 )
...
* Allow configuration cache compatibility
Use FileSystemOperations to delete output folder if Gradle Version >= 6
* Skip Gradle legacy test if JDK is not compatible
2023-06-09 09:24:04 +08:00
martin-mfg
02790f987e
always use @JacksonXmlElementWrapper and read xml data from referenced schema, updated ( #15115 )
...
* always use @JacksonXmlElementWrapper and read xml data from referenced schema
based on https://github.com/OpenAPITools/openapi-generator/pull/5371
* run generate-samples.sh
* suggestion: remove comment with empty name
2023-06-09 09:19:42 +08:00
James Wynn
d27fa00cf5
fix : #1466 additionalProperties works now in spring generator ( #11572 ) ( fix #1466 )
...
* fix : #1466 additionalProperties works now in spring generator
* chore: chore: #1466 solved rebase conflicts
* 1466; updated samples
* [Spring] update additionalProperties MR
* [Spring] additionalProperties unit test
---------
Co-authored-by: Your Name <benfonty@gmail.com>
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-06-08 16:38:53 +03:00
William Cheng
3d6f501710
add bileto to the sponsor section ( #15787 )
2023-06-08 10:21:27 +08:00
martin-mfg
17f1d351bf
[Java][Jaxrs][Resteasy] add @Valid to getter methods, updated ( #15064 )
...
* [JavaJaxrsResteasy] add @Valid to getter methods
* improve whitespacing
---------
Co-authored-by: TNM Technologies <tnmtechnologies@users.noreply.github.com>
2023-06-08 09:43:01 +08:00
martin-mfg
b7f2b723aa
[JAVA] fix toUrlQueryString for BigDecimal ( #15764 )
...
* add MyImportTest.java
* fix original issue
* fix same issue for native library
* remove MyImportTest
* add test configs
* generate samples (again?)
* generate samples again
* generate samples again, undo pom.xml mistake [amended to retrigger circliCi]
2023-06-08 09:34:06 +08:00
William Cheng
fbe768bb9c
minor refactoring on default codegen ( #15777 )
2023-06-07 15:23:58 +08:00
William Cheng
87be942247
update rewrite to newer version ( #15776 )
2023-06-07 15:23:40 +08:00
William Cheng
658c6eb567
rename function to avoid confusion of function in parent class ( #15775 )
2023-06-07 14:57:15 +08:00
Frederic Jones
59ba00e1f3
Add support for swagger2 in [java] client generators ( #15456 )
...
* Add support for swagger2 in java client generator
* Target 7.x.x
* Upstream changes
2023-06-06 15:41:12 +08:00
Tiffany Marrel
79c2e87890
[Java] fix security features listed in documentation ( #15756 )
2023-06-06 15:12:22 +08:00
Tiffany Marrel
366e71adf9
[Kotlin-Spring] fix use of isBasic from #15048 ( #15759 )
2023-06-06 10:49:49 +08:00
Tiffany Marrel
d7226a6813
[Python] fix security features listed in documentation ( #15755 )
2023-06-06 10:49:01 +08:00
Tiffany Marrel
b5d766de4b
[xojo] fix use of isBasic from #15194 ( #15761 )
2023-06-06 10:47:46 +08:00
Tiffany Marrel
d3a2e0e43e
[Kotlin] fix security features listed in documentation ( #15758 )
2023-06-06 10:45:44 +08:00
devhl-labs
e439476e16
removed inheritence ( #15767 )
2023-06-06 10:36:59 +08:00
karzang
bc7bdca87f
support nullable check for OAS 3.1 ( #15698 )
2023-06-05 19:34:51 +08:00