16767 Commits

Author SHA1 Message Date
William Cheng
37cf47fa2c remove go.sum 2022-02-20 22:58:15 +08:00
William Cheng
b1d7fef226 add go.sum 2022-02-20 22:58:04 +08:00
William Cheng
cf59f55334 trigger build 2022-02-20 22:37:26 +08:00
William Cheng
006c5edce3 fix path 2022-02-20 22:36:55 +08:00
William Cheng
880785121a add test.bash 2022-02-20 22:29:39 +08:00
William Cheng
650f2ebc4d add more go server tests 2022-02-20 22:21:29 +08:00
William Cheng
f30fb46b52 trigger build 2022-02-20 22:14:55 +08:00
William Cheng
69e7735b0c add workflow for go server 2022-02-20 22:14:19 +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
William Cheng
878f6e5709
[General] Better code format (#11612)
* better code format in java tests

* better code format in java client codegen

* better code format in java model tests

* better code format in abstract java codegen

* better code format in codegen parameter, property

* better code format in codegen response

* better code format in codegen model

* better code format in default generator

* better code format in default codegen

* update codegen model
2022-02-15 16:32:48 +08:00
Laurens-W
52e3265c34
[Java][RestTemplate] Use class level RestTemplate for uri encoding (#11606)
* Move static logic to initialization method when no RestTemplate is provided.
Otherwise, use the settings from the RestTemplate that was provided.

* Move code outside of withXml
Run required scripts

Co-authored-by: Westerlaken, H.L. (Laurens) <laurens.westerlaken@devolksbank.nl>
2022-02-15 16:31:51 +08:00
devhl-labs
d7b812ad42
[charp-netcore] Constructor Improvements (#11502)
* 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

* created library modelGeneric, removed debugging lines

* build samples

* build all samples

* avoid breaking changes

* publish and build samples

* added line break
2022-02-15 10:44:23 +08:00
William Cheng
a4fcd1c924
avoid Double Brace Initialization (DBI) (#11609) 2022-02-15 10:42:55 +08:00
Lennart Schwahn
ba04720898
fix #6134 by considering the type List<File> (#11361)
The method buildRequestBodyMultipart in ApiClient.java now recognizes if
an input parameter is an instance of List.
2022-02-15 10:35:46 +08:00
matthiasloeu
7555018aa6
Add default value (#11600) 2022-02-15 09:54:14 +08:00
William Cheng
5c0d861f96 add link to presentation 2022-02-15 09:45:01 +08:00
cachescrubber
00e23490bd
Decomission threetenbp support. (#11608) 2022-02-15 09:39:30 +08:00
William Cheng
380aaa55a1
Remove JDK7 support from Java Spring generators (#11561)
* remove jdk8 support from spring generators

* update tests, remove commented code in AbstractJavaCodegen

* add back implementation

* add back import

* generate code for non reactive
2022-02-14 17:54:31 +08:00
Juan Treminio
905e59c238
[PHP] Allows passing filename to deserialize (#11582)
* Allows passing filename to deserialize

* Code review changes
2022-02-14 17:38:16 +08:00
William Cheng
ec51e9cd0b update samples 2022-02-14 12:54:26 +08:00
William Cheng
5346d0b6b7 update samples 2022-02-14 11:45:12 +08:00