18059 Commits

Author SHA1 Message Date
spericas
6be539db83 Create common files for Helidon generators
Signed-off-by: spericas <santiago.pericasgeertsen@oracle.com>
2022-10-11 13:30:55 -05:00
Segev Finer
53873ff6d8
[kotlin] Fix empty body with POST/etc in OkHttp client (#13666) 2022-10-11 12:18:24 +01:00
Bruno Coelho
1e66f2fbc9
[swift][client] fix xcode warning (#13647)
* [swift][client] fix xcode warning

* [swift][client] fix xcode warning
2022-10-11 11:08:15 +01:00
Bruno Coelho
1235ccd391
[kotlin][client] move info to readme (#13649)
* [kotlin][client] move info to readme

* [kotlin][client] update sample projects
2022-10-11 11:07:36 +01:00
Justin Black
ef8e55ca21
[python] client bug fixes + type hint improvements (#13665)
* Adds python client, template, and spec updates for query param content type json

* Samples regenerated

* Finishes adding test cases for query param json content type

* Uses newest templates

* Templates replaced, spec replaces, sample replaced

* Samples updated
2022-10-10 20:13:31 -07:00
William Cheng
02916822f7
Fix required parameters in group request option (Java client jersey2, 3) (#13646)
* fix required parameters in single request (java jersey2, 3)

* remove final from request required parameter
2022-10-09 16:14:25 +08:00
Chao Yang
e21d4900a1
Set default moduleName and update doc for crystal (#13645)
* Set default moduleName and update doc for crystal

Fixes #13644

* Generate docs

* Set default values to shardName and moduleName
2022-10-09 15:42:52 +08:00
dependabot[bot]
a4f7cafdf3
Bump css-what from 2.1.2 to 2.1.3 in /website (#13610)
Bumps [css-what](https://github.com/fb55/css-what) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/fb55/css-what/releases)
- [Commits](https://github.com/fb55/css-what/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: css-what
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 23:18:10 +08:00
Beppe Catanese
48928d8efe
[Go] Generate test files (#13560)
* Process api_test.mustache

* Create api_test.mustache

* Add test and helper method

* Commit all (re)generated files

* Commit all (re)generated files

* Fix indentation
2022-10-07 23:15:09 +08:00
William Cheng
ba192741af
Add @jacob-pro to the Rust technical committee (#13639) 2022-10-07 23:12:10 +08:00
William Cheng
0602d8f8a7
fix url validator, add tests (#13628) 2022-10-07 23:07:53 +08:00
William Cheng
3ae37e27a5
[java][okhttp-gson] fix validateJsonObject (#13630)
* fix required check in java okhttp client

* fix validateJsonObject in okhttp-gson, add test

* move java-micronaut-client to test circleci
2022-10-07 23:06:34 +08:00
DeaneOC
0060dfd195
[Java][Spring] Fix #13365 Adjusted pojo.mustache to handle required fields when beanValidation false (#13580)
* Adjusted pojo.mustache to handle required fields

* Updated tests and config to cover more scenarios

* Removing unused imports

* Resolved conflicts
2022-10-07 23:05:51 +08:00
William Cheng
4ee0cfa1ad
Update jackson dependencies to newer version (#13634)
* update jackson databind dep

* update java native dep to newer version

* fix build issue due to cached config. add dummy pom
2022-10-07 23:04:27 +08:00
Jonas Reichert
6f3c0a8b5b
[swift5] fix generation of multiple security definitions (#13617)
* uses correct variable to check for security definitions

* update samples
2022-10-07 16:01:35 +01:00
William Cheng
038fe790dc
fix spring3 client (#13625) 2022-10-07 20:54:55 +08:00
devhl-labs
0b0e3f7d16
added vendor extension on model.allVars (#13623) 2022-10-07 17:09:41 +08:00
Minira Samadova
2f8b7a054f
[typescript-axios] / #12828: Add ESM support to typescript-axios client (#13586)
* add ESM support to typescript-axios client

* add module path to the package json template

* module must be commonjs

* generate samples
2022-10-07 10:14:56 +02:00
William Cheng
74bb35d909
revise jdk11 java client tests (#13626) 2022-10-07 15:55:27 +08:00
William Cheng
94bc2ed19c
add tests for #13606 (#13618) 2022-10-07 09:53:55 +08:00
Dennis Melzer
0a69f11526
Remove wrong request mapping for feign clients (#13546)
* Remove request mapping

* Fix bug for feign clients

* Fix test

* Fix test files

* Rebuild

* Revert change
2022-10-07 01:36:43 +08:00
Mustansir Soni
64c756c5fc
Added missing '{' (#13606) 2022-10-07 01:18:23 +08:00
DeaneOC
10a1e7c2d5
Fix #13385 spring json nullable array (#13537)
* Fixing to use equalsNullable when nullable set in config for SpringCodeGen

* Adding additional test case file

* removed print statement from SpringCodeGen

* Updated model object

* Corrected indentation and removed import

* Fixed broken test

* Updating sample
2022-10-07 01:07:48 +08:00
dependabot[bot]
18b5b05fa7
Bump actions/setup-dotnet from 3.0.0 to 3.0.1 (#13595)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 01:03:02 +08:00
bgong-mdsol
4ae11f8a0f
add Imports for oneOf & anyOf schemas (#13553) 2022-10-07 01:01:58 +08:00
Thomas Hansen
a37d18a7e4
[PHP] Bugfix: DateTime object on query (#13583)
* [PHP] BUGFIX: fix code breaking when query params contain a DateTime object

* [PHP] Autogenerated files
2022-10-07 00:45:33 +08:00
Jacob Halsey
32936ad71b
[rust] [rust-server] More abstract functions including integer fitting (#13503)
* [rust] [rust-server] Abstract Rust Integer fitting

* Add docstrings
2022-10-07 00:40:24 +08:00
Christian Fruth
8b10dc3830
[swift5] fixes a bug encoding/decoding decimal (#13589)
* [swift5] fixes bug #13410

* Fixed indentation, added missing generated samples
2022-10-05 13:31:36 +01:00
Jonas Reichert
4beee6c8c4
[swift5] adds configuration of response success ranges (#13598)
* add successfulCodeRange to configuration

* generate samples
2022-10-05 13:30:33 +01:00
William Cheng
085e1e58e5
Fix/remove support python2 option in flask aiohttp generators (#13585)
* fix: remove option supportPython2.
[python-flask][python-aiohttp][python-blueplanet]

* fix: update samples

* test only python servers

* fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp]

* Revert "fix(tests): downgrade pytest version to ensure compatibility with python3.6 [python-flask][python-aiohttp]"

This reverts commit 9f47db2f87d1faea6863f4fa5f7c97ddba985879.

* test in circlei

* run commands directly

* test in node 1

* update makefile

* fix Makefile

* fix test

* revert some changes, remove python server tests from travis

Co-authored-by: Kevin Bannier <kevinbannier1@gmail.com>
2022-10-04 15:24:26 +08:00
Justin Black
57f5cc4000
[python] fixes bugs (#13581)
* Adds bug fixes

* Samples and docs regenerated

* Samples regenerated
2022-10-03 11:15:16 -07:00
Bjorn R. Jensen
2f48c596d1
[Java][jaxrs-spec] Make contextPath template parameter available as a string constant for use in @ApplicationPath (#13377)
* generate a RestResourceRoot with a string constant holding the jax-rs resource root to be used in the @ApplicationPath annotation to make it easier for people, who want to write their own jax-rs Application class

* build and update samples as per PR guide

* renamed introduced constant from ROOT to APPLICATION_PATH to make its use more obvious
2022-10-03 23:34:10 +08:00
William Cheng
c39fc1e31b
[JS] Refactor oneOf validation logic, add more tests (#13575)
* refactor oneof validation logic, add more tests

* update samples
2022-10-03 22:32:29 +08:00
devhl-labs
0581d81eaa
[csharp] Fixed data type issues (#13541)
* fixed data type issues

* reverted a change
2022-10-03 22:08:28 +08:00
William Cheng
c30ae752a0
add fromJSON method (#13573) 2022-10-03 21:57:03 +08:00
水上 皓登
922f9783fd
add a link to blog post (#13574) 2022-10-03 18:04:02 +08:00
William Cheng
3ec6cc5bf5
[R] add for more tests for URL validation (#13572)
* add url validation in r client

* update samples

* add more tests for url validation
2022-10-03 13:34:27 +08:00
William Cheng
c939894711
[R] add URL validation (#13570)
* add url validation in r client

* update samples
2022-10-02 23:57:33 +08:00
William Cheng
9cc23dd09d
[JavaScript] add oneOf support (#13561)
* JS add oneOf support

* add validate json method

* add oneOf support to JS client

* update samples

* add todo in anyof

* switch to composed.oneOf

* update oneOf to support primitive types

* update messages

* minor fix, add more tests

* update samples

* fix npe in from model

* fix syntax error in length check

* update samples
2022-10-02 13:34:50 +08:00
Justin Black
2920c7bf91
Update readme active python reviewers (#13567) 2022-10-01 13:53:56 -07:00
dependabot[bot]
d3e099bd06
Bump actions/setup-dotnet from 2 to 3.0.0 (#13557)
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 2 to 3.0.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v2...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 17:31:42 +08:00
William Cheng
210a394e0d
Restore JS tests (#13547)
* restore js tests

* test only js in circleci

* trigger build failure

* Revert "trigger build failure"

This reverts commit 7e8c34e8234a87660590f95e2f761b026edb1d4f.

* Revert "test only js in circleci"

This reverts commit e261429339a062077fadfeabfda02aaef30308af.
2022-09-29 14:52:25 +08:00
Jonas Reichert
00604aff59
[swift5] [alamofire] adds ability to inject custom response serializers (#13542)
* adjust templates to allow injecting ResponseSerializers

* generate samples

* swift < 5.5 compatibility
2022-09-28 17:34:17 +01:00
William Cheng
6a631b4cc0
[R] add discriminator and mappings support (#13529)
* add discriminator property, mapping

* add discriminator, mapping support to R client generator

* add discriminator, mapping support to R client genrator httr library
2022-09-28 00:18:28 +08:00
William Cheng
4ba43f7577
add design philosophy (#13535) 2022-09-28 00:18:09 +08:00
William Cheng
694a4c93c8
Add Bandwidth to the user list (#13532)
* add bandwidth to the user list

* Update README.md

Co-authored-by: AJ Rice <53190766+ajrice6713@users.noreply.github.com>

* update link

Co-authored-by: AJ Rice <53190766+ajrice6713@users.noreply.github.com>
2022-09-27 22:16:50 +08:00
William Cheng
bcd0d2963f update doc 2022-09-27 11:43:00 +08:00
devhl-labs
4e54b07076
[csharp] Fixed isMap property (#13482)
* fixed data type for maps

* fighting line endings

* fighting line endings

* removed commented code

* reverted unintended line break

* reverted unintended line break

* reverted unintended line break
2022-09-27 11:10:10 +08:00
Takuto Yuki
36976d5c72
Update Sort list of style guides (#13502) 2022-09-27 11:08:59 +08:00
William Cheng
88d464ad35
[typscript-rxjs] fix build failure (#13526)
* add node types to fix build failure

* Revert "add node types to fix build failure"

This reverts commit 7ec986e164d9ab0ab5eb1abb93f2f3e06121bd7e.

* add node installation to fix build failure

* update ts samples
2022-09-27 11:08:33 +08:00