20229 Commits

Author SHA1 Message Date
William Cheng
ae86945653
Add test for RFC3999DateFormat clone method (#11706)
* add test for RFC3999DateFormat clone method

* better comment
2022-02-24 13:15:07 +08:00
Chris White
d153134dec
Fixed RFC3999DateFormat clone NPE (#11705) 2022-02-24 12:29:23 +08:00
Kuan-Yin Chen
ab63786610
[Python] remove default content-type in the request (#10782)
* remove default content-type in the request

* add remove default content-type test

* fix duplicate content type

* update sample

* add missing params

* update sample

* only assign content type if exist

* update sample

* update sample

* format code

* update sample
2022-02-24 12:08:49 +08:00
Jean-François Côté
7bda4734e6
Fix sonarqube warnings / code smells from the generated code. (#11702) 2022-02-24 11:07:19 +08:00
Bruno Coelho
266cd5de0d
[swift5][client] remove apiResponseQueue in the clients that don't have any impact (#11698) 2022-02-24 01:37:33 +08:00
sullis
6e7c39e64f
validate pom.xml files (#11672) 2022-02-23 16:38:25 +08:00
William Cheng
16457d0921 test spring-boot-defaultInterface-unhandledException in github workflow 2022-02-23 16:19:37 +08:00
Bernhard Danecker
182fe9370e
[Java][Spring] fix unhandledException not working in combination with… (#9879)
* #4393 fix unhandledException not working in combination with skipDefaultInterface

* generate samples
2022-02-23 16:11:18 +08:00
William Cheng
df39875502
fix buils warning in java native client (#11688) 2022-02-22 17:04:14 +08:00
Gustavo De Micheli
f59c07b24a
Add Model Docs to scala-akka generator as defined in its README (#11684)
Co-authored-by: Gustavo De Micheli <gustavo.de.micheli@lunatech.com>
2022-02-22 16:38:36 +08:00
Sorin Florea
7dcfe62dee
Properly encode exploded query params in url (#11682) 2022-02-22 16:33:36 +08:00
방진영
79970228e6
rollback curl_list_free keyword (#11677) 2022-02-22 16:27:34 +08:00
William Cheng
872199974d add java spring technical committee 2022-02-22 00:11:01 +08:00
Karsten Thoms
735dae41a5
[#11323] Fixed wrong clearing of CodegenModel#hasEnum field (#11653)
A CodegenModel's hasEnum property is set in addVars:
  cm.hasEnums = true;
This state was cleared afterwards again.

As one of its results the import for @JsonValue was not added for the model class in the Spring code generator, where 'model.hasEnums' was evaluated to false where it should be true.
2022-02-21 23:19:08 +08:00
William Cheng
df05e6f4bc
Update parser to 2.0.29 (#11388)
* update parser to 2.0.29

* better handling of null in dereferencing

* update parser to 2.0.30

* update core to newer version

* add new files

* rollback to previous stable version

* remove files

* Fixes for python-experimental NullableShape component

Co-authored-by: Justin Black <justin.a.black@gmail.com>
2022-02-21 18:37:52 +08:00
sullis
bdb037cce1
kotlin 1.6.10 (#11673) 2022-02-21 14:26:59 +08:00
sullis
636e87568d
update ArchUnit rules (#11671) 2022-02-20 19:26:04 -08:00
sullis
aec4a12cae
archunit 0.23.0 (#11670)
https://github.com/TNG/ArchUnit/releases/tag/v0.23.0
2022-02-20 19:02:00 -08:00
sullis
4361790332
[java] jaxrs swagger-core 1.6.5 (#11668) 2022-02-20 21:46:34 +08:00
sullis
c8f075de51
jackson 2.13.1 (#11669) 2022-02-20 21:46:14 +08:00
Leigh Johnson
c8d0dd18f2
add print-nanny.com to project list (#11667) 2022-02-20 11:16:45 +08:00
sullis
c5745f8d72
[java] jersey 2.35 (#11661) 2022-02-20 11:12:55 +08:00
sullis
3c8f249c6c
[java] logback 1.2.10 (#11659)
Latest version of logback
https://logback.qos.ch/news.html
2022-02-19 18:52:39 +08:00
sullis
4a7f46cba5
[java] openapi-generator-maven-plugin: add jaxrs-jersey2 test (#11658) 2022-02-19 18:50:50 +08:00
sullis
840f36a50d
maven-compiler-plugin 3.10.0 (#11660)
https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.10.0
2022-02-19 18:48:57 +08:00
William Cheng
3a119b9cff
Add tests for Aspnet 6, minor bug fixes (#11663)
* add tests for aspnet core 6

* bug fix, update samples
2022-02-19 18:46:38 +08:00
William Cheng
2918b8706e
better code format in c#, aspnet generators (#11662) 2022-02-19 14:40:12 +08:00
Felix Winterhalter
c161358aa8
[Csharp][aspnet] Aspnet 6.0 Support (#10619)
* Aspnetcore V6 Support

* docs: update-docs
2022-02-19 13:52:52 +08:00
William Cheng
d530e1baec
minor enhancement to code format in go client (#11657) 2022-02-19 13:11:28 +08:00
William Cheng
d030ac1b50
better code format in go generators (#11656) 2022-02-19 11:41:19 +08:00
Aaron Pittenger
0d4dba13f6
[Python] python regex validation generation (#11525)
* fix: python regex validation generation

* docs: updated comment to be more specific

* fix: check the right value used when generating the regex
2022-02-17 21:11:39 -08:00
Paul-Etienne François
d45cb6511f
[Java][Native] Fix an issue leading to an altered String parameter when consuming formatted strings like XML (#11640)
* Fix the generated request builder when using a string body parameter

* Update the samples according to the fix for #11638
2022-02-18 11:50:15 +08:00
moznion
d6a97b0c39
Remove dummy variable declaration for context.Context from generated go code (#11641)
Originally, this dummy declaration was needed because there was the
possibility of the generated code doesn't use `context.Context` and then
if it imported that package, go compiler complains that and makes an error.
ref: 3ed1aa8e79/modules/swagger-codegen/src/main/resources/go/api.mustache (L30)

However, now this dummy placement is no longer needed because the
generated code always uses `context.Context`.

Signed-off-by: moznion <moznion@mail.moznion.net>
2022-02-18 11:34:05 +08:00
sullis
9517a9525b
[java] enhance unit tests for JavaJerseyServerCodegen (#11643) 2022-02-17 19:24:19 -08:00
William Cheng
1f6b3eb604
Remove go-deprecated generator (#11645)
* remove go-deprecated generator

* update doc
2022-02-18 11:20:09 +08:00
Rodrigo Cebrián González
03cca89b80
✏️ Fixed typo error on java generator config-help command (#11644)
Fix the typo error "proeprties" to properties inside the gradleProperties config for java generator
2022-02-18 11:09:00 +08:00
William Cheng
d00a5c304f update samples 2022-02-18 00:53:42 +08:00
Ran Halprin
1b8dae18b8
typescript-fetch: Support deprecated parameters, operations (#11523)
Co-authored-by: Ran Halprin <ran@myhippo.com>
2022-02-18 00:47:28 +08:00
Tomáš Čermák
f1ad3a89e6
[Protobuf-Schema] Add enum prefix (#11548)
* [Protobuf-Schema] Add enum prefix

* [Protobuf-Schema] Documentation updated

* [Protobuf-Schema] Samples updated
2022-02-18 00:32:34 +08:00
William Cheng
6d9e349721
Update kotlin vertx server dependencies (#11631)
* update kotlin vertx dep to newer versions

* update kotlin to newer version
2022-02-17 19:45:31 +08:00
William Cheng
b979eccf68
Add Github action file to test Java clients (#11633)
* add github action file to test java clients

* update tests
2022-02-17 15:49:34 +08:00
William Cheng
0a68d83f95
[Java] move some client tests to Github actions (#11634)
* more java client tests in github actino

* trigger build

* Revert "trigger build"

This reverts commit 023f8cc725b663490050899978b4d67f95495398.

* move java client tests to github action
2022-02-17 15:30:14 +08:00
William Cheng
986446c1d5
Migrate JAX-RS server tests to Github action (#11632)
* remove spring tests from pom.xml

* test jaxrs in github action

* trigger build

* Revert "trigger build"

This reverts commit a9c444fe5b4452ceb9483c1ee067ca07b3f5c462.
2022-02-17 14:05:25 +08:00
Justin Black
b165d2dda9
[python-experimental] fn + method signature improvements (#11529)
* Updates code

* Removes java files
2022-02-16 10:52:31 -08:00
Daniel Schreiber
035736f5c4
[java] No @NotNull annotation for readOnly (required) attributes - fixes #5026 (#10820) 2022-02-16 15:33:23 +08:00
William Cheng
c7367c2d34
[kotlin] add missing import, better code format for kotlin generators (#11619)
* add missing import, better code format for kotlin generators

* update kotlin workflow

* more kotlin tests

* better code format

* separate kotlin client, server teets

* comment out tests
2022-02-16 15:09:51 +08:00
Sergey Vladimirov
d0d0a0505e
Support email validation in kotlin-spring (#11617) 2022-02-16 13:34:11 +08:00
dependabot[bot]
5bc53ec08c
Bump shelljs from 0.8.3 to 0.8.5 in /website (#11324)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.3 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.3...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 11:08:06 +08:00
dependabot[bot]
274e4b1be3
Bump ajv from 6.6.2 to 6.12.6 in /website (#11584)
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.6.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.6.2...v6.12.6)

---
updated-dependencies:
- dependency-name: ajv
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 11:07:41 +08:00
cachescrubber
5afec1fec7
Spring hide controller impl (#11611)
* hide implementation behind undocumented flag (_api_controller_impl_) to temporarily preserve code.

* Generate Samples
2022-02-16 11:06:41 +08:00