19357 Commits

Author SHA1 Message Date
Alpha Shuro
b94952b3b7
Add link to find more variables (#15635) 2023-05-26 08:38:32 +08:00
dependabot[bot]
68a434818c
Bump actions/setup-dotnet from 3.0.3 to 3.1.0 (#15648)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v3.0.3...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  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-05-26 08:31:49 +08:00
William Cheng
910e463d50 update C# samples 2023-05-26 08:32:10 +08:00
Tiffany Marrel
ce587c7b57
[C] fix use of isBasic condition (#15534) 2023-05-25 23:39:43 +08:00
Tiffany Marrel
8aa8a60754
[typescript] fix use of isBasic condition (#15531) 2023-05-25 23:38:59 +08:00
devhl-labs
db795a2c1a
[csharp-netcore] Removed deprecated package (#15595)
* removed deprecated package

* include the library for older than .net6
2023-05-25 23:37:12 +08:00
William Cheng
1145197fad
Add workflow to tests C# projects with .net 6 (#15629)
* add workflow to tests C# projects with dotnet 6

* trigger build

* fix cmd
2023-05-25 21:06:51 +08:00
gonzalad
d52e3fbfda
spring: fix multiline tag description (#15112) (fix #12474)
* spring: fix multiline tag description

@Tag description should merge multiple lines into single line
and trim the newline char at the end

The fix was done in a similar way to what is done for operation description.

* spring: multiline tag description add unit test

---------

Co-authored-by: gonzalad <gonzalad@users.noreply.github.com>
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-05-25 11:01:12 +03:00
devhl-labs
63c26fc794
upgarded test project framework (#15634) 2023-05-25 11:00:38 +08:00
Oleh Kurpiak
765628fb77
Fix extensions handling for allOf with single schema (#15632) 2023-05-25 10:59:00 +08:00
Oscar Rodríguez
2b9677a29e
Adds operation null check avoid null exception (#15599)
* Adds operation null check in the method GetOperationServerUrl to avoid null exception

* Adds operation null check to avoid null exception to the csharp net core mustache

* update C# samples

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-05-24 17:33:58 +08:00
Tiffany Marrel
80c85eff1b
[Haskell] fix use of isBasic condition (#15612) 2023-05-24 16:58:46 +08:00
William Cheng
3990b73ff3
remove scala-httpclient client generator (deprecated) (#15627) 2023-05-24 16:39:35 +08:00
aramflo
2042fb222a
CASS-399: Adds {{>partial_header}} to missing mustache files in aspnetcore. (#15616) 2023-05-24 16:37:46 +08:00
William Cheng
15604b31d6
fix go server string compare (#15589) 2023-05-24 15:47:42 +08:00
William Cheng
0e8d997bf6
[rust-client]: fix for collectionFormat=multi (#15626)
* [rust-client]: fix for collection format multi

* update rust samples

---------

Co-authored-by: Gorka Kobeaga <gorka@kobeaga.eus>
2023-05-24 15:45:00 +08:00
Stephan Strate
9890f076a9
[kotlin-server] add support for jakarta ee namespace (#15593) 2023-05-24 08:44:39 +01:00
William Cheng
48ef91acc4
[python] Add test for nullable property with pattern (#15625)
* add test for nullable property with pattern

* update samples
2023-05-24 15:13:53 +08:00
George
5b5cb1f7e0
[groovy] support enum generation in groovy client (#15619)
* support generation of enums for groovy

* add custom json generator for groovy

* add nestet enums in groovy templates

* add indent for nested Groovy enums & fix compilation errors in Groovy ApiUtils

* save auto generated samples&docs for groovy
2023-05-24 15:12:59 +08:00
Tiffany Marrel
358397fe3f
[rust] fix use of isBasic condition (#15532) 2023-05-24 14:43:06 +08:00
Huan-Cheng Chang
1a483b2c9a
fix variable name (#15623)
Signed-off-by: Huan-Cheng Chang <changhc84@gmail.com>
2023-05-24 14:17:41 +08:00
Tiffany Marrel
f5903bc391
[swift5] fix use of isBasic condition (#15613) 2023-05-23 14:07:48 +01:00
William Cheng
833f649768
[Kotlin] minor enhancements, remove KotlinServerDeprecatedGenerator (#15608)
* better code foramt, add library creator

* remove kotlin server deprecated generator
2023-05-23 13:45:10 +08:00
Stefan Koppier
9358ab9d1d
[kotlin] New 'jvm-spring-webclient' library (#15568)
* Added library 'jvm-spring-webclient' to Kotlin client generator

* Reran all generators and generated docs

* Changed target of kotlin-jvm-spring-webclient sample from 2_0 to 3_0

* Added build of kotlin-jvm-spring-webclient to github workflow
2023-05-23 11:34:52 +08:00
devhl-labs
5299935c20
[csharp-netcore] Removed .netcore 3.1 (#15605)
* removed .netcore 3.1

* dont use .net standard for test package
2023-05-23 10:39:06 +08:00
William Cheng
273be4634e
Update Enforcer (maven plugin) rule (#15575)
* better enforcer with gradle mgmt plugin

* update gradle-enterprise

* fix id
2023-05-23 00:56:50 +08:00
Tiffany Marrel
cbcf3d36f6
[Java] [Kotlin] (#14876) fix use of isBasic conditions - do not use HttpBearerAuth (or HttpBasicAuth) for other http auth methods (such as http signature auth or custom schemes) (#15220)
* remove http signature from test yaml when not supported

* do not use HttpBearerAuth for signature auth or other unsupported http auth method

ignore unsupported http auth method unless generated code would not compile (in which case, an exception is thrown)

* [Java] fix use of isBasic condition

* [kotlin] fix use of isBasic condition
2023-05-22 16:08:08 +08:00
Tiffany Marrel
216e2c45ff
[dart] fix use of isBasic condition (#15523) 2023-05-22 16:07:37 +08:00
martin-mfg
ad5cc827f0
remove fullJavaUtil (#15033) 2023-05-22 14:40:35 +08:00
devhl-labs
2af661d5b0
used default cancellation token (#15594) 2023-05-22 12:53:18 +08:00
William Cheng
605cc7bd29
Set maven to 3.9 in Github workflow (#15592)
* set maven to 3.9

* add java version

* fix maven version

* fix java version
2023-05-22 11:25:38 +08:00
Rustam
7881482161
[Ktor] Update generator to latest Ktor version #14061 (#14296) 2023-05-21 23:11:01 +08:00
William Cheng
5e800d9633
Update pom.xml with new plugin, setting (#15590)
* update pom.xml with new plugin, setting

* update workflow
2023-05-21 21:13:45 +08:00
William Cheng
5018d3c131
Update to JDK11 (#15553)
* update to jdk11, fix tests

* update workflow to use jdk11 instead

* update travis, circleci build

* fix test failure, update CI

* skip mvn install in appveyor

* add windows tests

* fix workflow

* remove log level

* add timeout

* sleep more

* skip tests

* sleep more

* only skip tests

* test with jdk11 only

* fix gradlew

* remove skip tests

* start server after build

* update gradle version

* more time to start server

* update to 420

* comment out build

* update

* update
2023-05-21 16:22:44 +08:00
William Cheng
6142315bef
Revert "fix#14119 property generateApis=false not working (#14126)" (#15588)
This reverts commit be9f1b6e4417b490a464e1e77e4c795f1667a652.
2023-05-21 15:58:21 +08:00
William Cheng
e758e4a49a
Improve Appveyor tests (#15585)
* use docker

* update

* skip httpclient

* update

* sleep 120

* use cmd

* restore tests

* sleep 120

* clean up

* skip
2023-05-21 15:56:51 +08:00
Stefan Koppier
08bb0f42fe
Fixed additional property omitGradleWrapper for kotlin generator (#15584) 2023-05-20 23:29:24 +08:00
Tiffany Marrel
e7039f434e
[cpp C++] fix use of isBasic condition (#15535) 2023-05-20 20:13:04 +08:00
Tiffany Marrel
89e4b24295
[Ada] [Java] fix Codegen copies (#15513)
* fix incomplete codegensecurity copies

* refactoring
2023-05-20 20:12:18 +08:00
Tiffany Marrel
3e10c5dbcf
[bash] fix use of isBasic condition (#15521) 2023-05-20 20:11:26 +08:00
Tiffany Marrel
e83640c836
[perl] fix use of isBasic condition (#15524) 2023-05-20 20:09:39 +08:00
Tiffany Marrel
7eeb7f6ed2
[PHP] fix use of isBasic condition (#15520) 2023-05-20 20:09:18 +08:00
Tiffany Marrel
b7a9373233
[powershell] fix use of isBasic condition (#15525) 2023-05-20 20:08:37 +08:00
Tiffany Marrel
9d6f80a7cf
[android] fix use of isBasic condition (#15528) 2023-05-20 20:08:18 +08:00
Tiffany Marrel
b7546888d1
[eiffel] fix use of isBasic condition (#15533) 2023-05-20 20:07:48 +08:00
Tiffany Marrel
2d8ec8b008
[xojo] fix use of isBasic condition (#15526) 2023-05-20 20:06:57 +08:00
Tiffany Marrel
7443c95d48
[lua] fix use of isBasic condition (#15529) 2023-05-20 20:06:34 +08:00
Florian Morgan
f0d439fbce
[kotlin-spring] Fix inheritance compile error because of missing use-site target on annotation (#3596) (#15488) 2023-05-19 10:47:26 +01:00
William Cheng
f5f382c87a
Improve build time (#15566)
* remove java helidon client, server tests (covered in sample tests)

* add new workflow to test java helidon samples

* trigger build

* test jdk 17 only

* Revert "trigger build"

This reverts commit b9528a65889577ea1adba6c1dbafc6b623a55555.
2023-05-19 09:45:43 +08:00
Stephan Strate
2250aae6a6
[kotlin-server] fix bean validation site targets (#14997) 2023-05-18 15:56:03 +01:00