William Cheng
c81c131c46
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-10-16 17:47:47 +08:00
William Cheng
e02ebd822a
Merge pull request #13513 from tjquinno/helidon-generation
...
Add server and client generators for Helidon
2022-10-16 16:30:52 +08:00
William Cheng
866d67a78f
Move some travis tests to github workflow, remove redundant c# test ( #13704 )
...
* move some travis tests to github workflow, remove reduntant c# test
* setup ruby
* switch to setup-ruby
* bundle install
* remove bash
* remove bundle install
* remmvoe gemfile
* add more folders in tab detection
* comment out java folder in tab detection
* undo changes in tab detection
2022-10-16 16:20:49 +08:00
devhl-labs
f11cb7f17d
[csharp] Delete and build samples ( #13641 )
...
* delete and build samples
* how did this not get committed?
* how did this not get committed?
* how did this not get committed?
* fixed csharp netcore functions
* reverted two files
* restored manually created tests
* reverted some unintentional changes
* restored unintended changes
2022-10-16 10:18:48 +08:00
William Cheng
cafdf64ca5
Fix ClassCastException when uuid has default value ( #13698 )
...
* fix cast error for uuid default
* fix java uuid default value
2022-10-16 09:08:17 +08:00
William Cheng
838212eefb
update crystal samples
2022-10-16 00:39:06 +08:00
William Cheng
8548a63d96
[Crystal] add require "big"
for decimal ( #13696 )
...
* add require big, add tests
* add new files
2022-10-15 22:43:40 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
William Cheng
daf475a96d
R - better code format ( #13691 )
...
* r - beter code format
* better readme
* update instruction
2022-10-15 10:47:27 +08:00
tim.quinn@oracle.com
715bbfab56
Push up-to-date generated samples
...
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
2022-10-14 10:16:27 -05:00
Sorin Florea
1fda3ce290
Remove unused import ( #13660 )
2022-10-12 11:11:34 +08:00
Tim Quinn
9e5625c842
Push generated samples with updated version ( #70 )
...
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
2022-10-11 13:32:09 -05:00
tim.quinn@oracle.com
51dc1c928a
Missed updated/generated files
...
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
2022-10-11 13:30:57 -05:00
tim.quinn@oracle.com
88ee081ad4
Add generated Helidon sample files
...
Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com>
2022-10-11 13:30:57 -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
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
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
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
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
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
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
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
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
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
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
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
William Cheng
6b47b14896
update restsharp to the latest stable version ( #13525 )
2022-09-27 11:05:37 +08:00
William Cheng
23c67d1581
update c# samples
2022-09-27 01:10:20 +08:00
Jonas Reichert
22086e4f3c
[swift5] support both date and date-time formats ( #13520 )
...
* add withoutTime formatter
* add DateWithoutTime
wip
* fix CI
# Conflicts:
# samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/DateWithoutTime.swift
* implement flag and adjust tests
* generate samples and docs
* docs
* update samples
* remove samples of legacy python generator
* Revert "remove samples of legacy python generator"
This reverts commit 28da78f99dcaa6cf761367b0a2d2c3fddf4803ec.
* review remarks
* generate samples
* fix
* review remarks
* remove samples
* generate swift 5 samples
* generate csharp examples
* docs
* Revert "generate csharp examples"
This reverts commit d1deb17dbcd04b9b00d9ad4a08ce55bedd960de8.
* Revert "generate swift 5 samples"
This reverts commit 968e859bfe3ce631f174d10f10983ed2f5c09486.
* Revert "remove samples"
This reverts commit a43d21529ba6a9e615671729d970ec7ef9662402.
* manually remove FILES
* regenerate files
* reviewers remarks
* delete all date without times
* update config of alamofireLib to use new attribute and generate samples again
* docs
2022-09-26 17:39:35 +01:00
Austin Ziegler
de745a4c61
Elixir: Improve generated API options docs ( #13478 )
...
While working with the Magento 2.4 API definition, there were several
issues found. The easiest to resolve is a documentation naming issue.
(The others will be raised for discussion.)
This is known to be an issue with query parameters, but may not be
limited to *just* query parameters.
In the event that a parameter is a mix of arrays and objects, the
template in the documentation for the API function was expanding out the
parameter name such that `foo[0]` would be turned into
`:foo_left_square_bracket0_right_square_bracket`, but the actual
parameter name was being left as `:foo[0]`, which meant that the
documentation did not reflect the actual parameter.
> Note: there are issues with the way that query parameters are put
> together in this sense, which is going to require substantially more
> work to resolve as well as discussion on how these options should be
> implemented, as what the Magento API requires may not be what is
> expected by a different server, and the nature of the input parameters
> is itself incorrect.
2022-09-26 11:34:44 +02:00
Thomas Hansen
efccc01911
[PHP] BUGFIX: model_generic: fix missing setOpenAPInullablesSetToNull method ( #13499 )
...
* [PHP] Bugfix - model_generic.mustache: missing setter for openAPINullabelsSetToNull (which is invoked in the property setters)
* [AUTOGENERATED] update samples
* [PHP] Added test for nullable fields
2022-09-26 17:20:51 +08:00
William Cheng
d46189bb28
Add .net framework 4.8 support ( #13504 )
...
* add .net framework 4.8 support
* add dependency, test in appveyor
* update doc
2022-09-26 11:02:39 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Justin Black
7e73645303
Switches python-experimental in as the primary python client ( #13501 )
...
* Changes python to python-prior
* python -> python-prior, python-experimental->python
* Renames sample spec directories
* Samples regnerated
* Regenerates docs
* Fixes test
* Samples regenerated
* Updates renerators list
* Fixes made to python paths in pom.xml
* Fixes node4 sh file paths
2022-09-24 16:19:38 +08:00
Mostafa Aghajani
9d621342e0
[Kotlin] Fix wrong default value is generated for non-integer numbers ( #13507 )
...
* ISSUE-13506 fix number value for default values when they are number
* ISSUE-13506 test and sample update
2022-09-23 15:02:49 +01:00
William Cheng
e146afbea1
better enum status validation ( #13486 )
2022-09-22 10:04:03 +08:00
William Cheng
09d3b8f866
fix optional body parameter in r ( #13483 )
2022-09-21 11:56:31 +08:00
Linus Klöckner
6a7567e7cb
PHP: fix ranged status codes ( #13012 )
...
* PHP: fix ranged status codes
* PHP: update samples
2022-09-21 00:21:46 +08:00