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
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
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
devhl-labs
acc8274528
minor spacing change ( #15801 )
2023-06-10 13:53:46 +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
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
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
Tiffany Marrel
d2446013d1
[TypeScript] fix security features listed in documentation ( #15751 )
2023-06-05 17:18:01 +08:00
Tiffany Marrel
0d9ca8a2d5
[C# csharp] fix security features listed in documentation ( #15687 )
2023-06-05 17:13:27 +08:00
Tiffany Marrel
9bf752454e
[PHP] fix security features listed in documentation ( #15750 )
2023-06-05 17:05:38 +08:00
devhl-labs
db3ef134b8
used partial methods for logging ( #15749 )
2023-06-05 14:08:56 +08:00
devhl-labs
4604bf016f
fixed casing ( #15748 )
2023-06-05 14:06:54 +08:00
devhl-labs
e06e2cce69
fixed more warnings and spacing issues ( #15743 )
2023-06-04 16:13:52 +08:00
devhl-labs
3cff040fe8
used name in camel case ( #15742 )
2023-06-04 16:13:14 +08:00
devhl-labs
e5531c1135
improved spacing ( #15741 )
2023-06-04 16:12:37 +08:00
William Cheng
fbb0d6d935
add a test case for python-fastapi query parameter default value ( #15744 )
2023-06-04 13:37:12 +08:00
William Cheng
7295c97089
remove EOL in template file
2023-06-04 11:34:06 +08:00
Beau
961b83104e
Fixed default for string query param ( #15686 )
2023-06-04 11:23:20 +08:00
devhl-labs
0943e5063a
[csharp-netcore][generichost] Improved spacing ( #15740 )
...
* improved spacing
* addressed comment
2023-06-03 20:05:08 +08:00
Clément Tamisier
2b9d94cb0a
add missing quote ( #15732 )
2023-06-03 13:36:13 +08:00