19065 Commits

Author SHA1 Message Date
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
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
Tiffany Marrel
fad23df09c
[Rust] fix security features listed in documentation (#15718) 2023-06-03 11:45:55 +08:00
Tiffany Marrel
7ab636d268
[JavaScript][javascript-flowtyped] fix security features listed in documentation (#15715) 2023-06-03 11:45:27 +08:00
Tiffany Marrel
2cc3e7865c
[Go] fix security features listed in documentation (#15714) 2023-06-03 11:44:48 +08:00
William Cheng
a9536d6d7f
minor fix readme md (#15739) 2023-06-03 11:42:34 +08:00
William Cheng
5e6e99b277
do not skip jacoco report in linux workflow (#15738) 2023-06-03 11:34:25 +08:00