Thomas Hansen
ca9a4a2ff3
PR: Fix error when giving an array as parameter to an endpoint body r… ( #1037 )
...
* PR: Fix error when giving an array as parameter to an endpoint body request
* PR #1037 - Fix issue with array as parameter to operation
* update samples
* PHP - ObjectSerializer::sanitizeForSerialization(): manage \stdClass objects properly
* update samples
* bug fix: missing "use" clause
* update samples
* Changes after @ackintosh review
* update samples
2018-09-19 19:58:56 +09:00
Nico König
3027514242
feature: add scaffold for typescript axios template ( #892 )
...
* feature: add generator for typescript/axios
* feature: add sample scripts and sample code
* fix: set request body in data property
* feature: add samples and tests for typescript axios client
* test: add tests for typescript axios client
2018-09-18 14:23:52 +08:00
manhhavu
9e1dfc0837
[Swift4] Use CodeableHelper's dateformatter in encode() if configured ( #984 )
2018-09-17 14:27:47 +08:00
Dec12 | Fujigon
5c794a01f8
[Java][Jersey] add @Valid when bean validation is enabled ( #1019 )
...
* fix template to add @Valid to POJO fields regarding nest, in java-jersey
* regenerate with for scr in `ls ./bin/*jersey*.sh`; do sh $scr; done
* re-generate with ./bin/openapi3/jaxrs-jersey-petstore.sh
* update api template for jersey1
* re-generate samples
* re-generate samples
2018-09-16 22:36:20 +08:00
Vladislav Cheparin
5fc76ba834
[Java][Retrofit2] The part name is not added to the annotation ( #1029 )
...
* fixed retrofit2/formParams.mustache
* added play26 to retrofit2-all.sh
* fixed samples
2018-09-16 16:00:38 +08:00
ircecho
58e43ceeec
[DART2] Maps could not be deserialized in dart 2 ( #1007 )
...
* fix[dart2]: due to stronger type checking in dart 2, maps could not be deserialized
* rebuild dart2 petstore
2018-09-14 18:40:37 +08:00
William Cheng
fc35bb17d0
Add option to enable scalafmt for code formatting ( #1032 )
...
* add option to enable scalafmt for code formatting
* fix typo
2018-09-14 16:58:27 +08:00
William Cheng
29322da2f6
Dart (Jaguar) client generator ( #998 )
...
* generator for dart jaguar
* migrate to openapi-generator
* fix locale issue
* add auth generation for dart jaguar
* fix generation of jaguar api with auth (#1009 )
* update deps (#1016 )
* add CI tests for dart jaguar
* update dart jaguar bin script
* trigger build failure
* Revert "trigger build failure"
This reverts commit a7d8bfd47a .
2018-09-13 21:39:57 +08:00
William Cheng
95302efdfc
Add option to set Feign version ( #1005 )
...
* Add option to set Feign version
* add java feign 9x to CI
* update usage for Play
* fix duplicated artifactId
2018-09-13 10:32:09 +08:00
Juan Eugenio Abadie
2d99836e90
[C++] [cpp-rest-sdk] Check for null values ( #990 )
...
* Check whether a value is present but null
* Update Petstore sample
2018-09-11 00:15:44 +08:00
ircecho
6a1e560540
fix[dart2]: improved error reporting ( #1006 )
...
* fix[dart]: improved error reporting
* rebuilt dart2 petstore
* rebuilt dart2 petstore with dartfmt
2018-09-11 00:14:50 +08:00
Ilya Hrankoŭski
aa29219f8c
[Java][Feign] Add support for Feign 10 ( #977 ) ( #988 )
2018-09-09 18:11:59 +08:00
William Cheng
47b3210cb2
Add js-beautify support to JS generator ( #961 )
...
* add js-beautify support to JS generator
* replace tab with space
* update samples without JS_BEAUTIFY_PATH
2018-09-08 18:06:27 +08:00
Akihito Nakano
1ead8bcca5
[PHP] Drop support for PHP5.5 on php-client ( #993 )
...
* Drop suport for PHP5.5 on php-client
* Update samples
bin/php-petstore.sh
bin/openapi3/php-petstore.sh
* Update security samples
bin/security/php-petstore.sh
2018-09-07 17:39:33 +09:00
Yann Milin
c5463232d3
[PHP] Fix deserialize ApiException as a Model ( #757 )
...
* [PHP] Fix deserialize for default responses. Update samples
* [PHP] Update sample files
* Fix the distination ("-o") of petstore-security-test
* Clean up "petstore-security-test" folder
* Update petstore-security-test sample files
* Update petstore OpenAPI3 sample files
2018-09-07 00:52:59 +09:00
Matt Melling
a8cbae4dc8
[PHP] Upgrade php-cs-fixer to 2.12, enables PHP >= 7.2 support ( #769 )
...
* upgrade php-cs-fixer to 2.12
* ran petstore-security-test for php
* updating openapi3 php petstore example
2018-09-06 20:48:00 +09:00
Esteban Marin
b9e9f54dab
[Typescript] add missing type mapping ( #973 )
...
* #957 : add missing type mapping
* #957 : generate samples
2018-09-06 18:21:05 +08:00
Nathan Broadbent
5d259952b3
Added pry-byebug to debug Ruby client ( #979 )
2018-09-06 18:19:31 +08:00
William Cheng
e29f263941
Add perltidy to format Perl code ( #970 )
...
* add perl tidy without updating petstore samples
* incldue pl file, update samples
* use no backup option, perltidy on test.pl
2018-09-06 14:46:02 +08:00
William Cheng
39c734fc25
Better code format for Java (okhttp-gson) client ( #971 )
...
* better code format for java okhttp client
* update java petstore samples
2018-09-06 14:24:14 +08:00
William Cheng
26591f5d7f
Use elm-format to format Elm API client ( #959 )
...
* add elm-format support
* update elm petstore samples
* add trenneman to elm tech comm
* replace dart class with elm class
* revise elm format arguments
* update petstore samples
2018-09-05 08:04:27 +08:00
delenius
9d89387d83
Fix cookie support in Node.js client ( #895 )
2018-09-04 16:31:33 +08:00
Marco
f7b807f980
[Java][Webclient ]Avoid double encoding on query params ( #924 )
...
* call build() with encoded = true
* Regenerate client
2018-09-04 15:58:14 +08:00
Erik Timmers
b24b6df448
[elm] Add support for Elm 0.19 ( #937 )
...
* [elm] Add support for Elm 0.19
* add elm 0.18 samples, update cli option
* fix elm 0.18 compile test
* [elm] 0.19 fixes & improvements
2018-09-04 14:24:43 +08:00
William Cheng
cc53774180
better process handling in Go postProcessFile ( #950 )
2018-09-02 18:01:34 +08:00
William Cheng
d9400caf69
Set Dart2 as default, better format Dart code with dartfmt ( #949 )
...
* change dart default to v2
* add dart2 author
* add dartfmt to postProcess file in dart generator
* add dartfmt to format dart code
2018-09-02 17:59:42 +08:00
William Cheng
a2acfe3be0
add default value to swift3,4 podspec ( #921 )
2018-09-02 15:51:36 +08:00
Yimin Lin
8ccb7135d3
[Dart 2] Fix petstore tests ( #954 )
...
* properly initialized models in tests
* Revert "move dart2 test to the end"
This reverts commit 7d2edf4713 .
2018-09-02 15:43:23 +08:00
William Cheng
d4c0de2876
update ruby petstore client Gemfile ( #948 )
2018-09-01 22:35:24 +08:00
William Cheng
e5244e8c3d
Add postProcessFile, implement in Go generators to run gofmt ( #929 )
...
* add postProcessFile, implement in Go generators to run gofmt
* minor fix to docstring
* update parallel job to 3
2018-09-01 21:02:28 +08:00
Yimin Lin
d327c5be46
[Dart 2] Add support for Dart 2 ( #754 )
...
* Add an option for Dart2
* add dart2 samples, update travis
* fix dart installation
* Upper constraints on the SDK version
* Update dependencies
* supportDart2 option can now be passed through --additional-properties
* Update petstore tests
* Update dart2-petstore.sh
* Running tests on Dart VM
* Fixed JSON deserialization bugs
* Fixed missing initialization of postBody
* Run bin/dart2-petstore.sh to regenerate libraries
* Update pom.xml
* Added SDK version constraints in pubspec.mustache
* Run bin/dart2-petstore.sh to regenerate libraries
* move dart2 test to the end
2018-09-01 01:49:18 +08:00
Matthieu Berthomé
6bc3c70115
[PYTHON] Api doc python with multiple authentications ( #928 )
...
* [PYTHON] better code snippet for API usage with authentication
* update python samples
2018-08-31 21:35:37 +08:00
William Cheng
e7c05f16db
update samples, re-enable ensure-up-to-date
2018-08-30 20:25:56 +08:00
William Cheng
3b2951b305
Merge remote-tracking branch 'origin/master' into 3.3.x
2018-08-30 19:39:09 +08:00
William Cheng
b8db2af4bb
Update swagger annotation version in Java clients ( #915 )
...
* update swagger annotation version in java client
* add java retrofit2 play 2.6 to java petstore all bin script
* remove empty line in pom.xml
2018-08-29 16:43:41 +08:00
lukoyanov
4558e49c7e
[Java] Retrofit2 Play! Framework 2.6.x support ( #901 )
...
* added play framework 2.6 support
* generated petstore sample
* generated petstore sample #2
* generated petstore sample #3
* Revert "generated petstore sample #3 "
* generated petstore sample #4
* fixed circleci configs
* one more time samples regen
2018-08-28 22:48:05 +08:00
William Cheng
4401407c7c
remove eof from elm mustache template for better code format ( #879 )
2018-08-26 16:38:27 +08:00
Hugo Barrigas
37fd4264ac
[JAVA][Webclient] Add constructor to allow custom WebClient to be passed into ApiClient ( #882 )
...
* add constructor to allow custom webclient to be passed into ApiClient
2018-08-25 15:22:36 +02:00
Marco
39e9206976
[Java][Webclient] Init authentication on ApiClient instantiation ( #887 )
2018-08-25 14:22:16 +02:00
Tomasz Prus
79dacb20a0
fix: python-asyncio/aiohttp with disabled ssl verification ( #891 )
2018-08-24 09:43:32 +08:00
William Cheng
704c1b8893
update petstore samples
2018-08-23 18:52:34 +08:00
William Cheng
780ba49da1
Merge remote-tracking branch 'origin/3.3.x' into 4.0.x
2018-08-23 18:39:54 +08:00
Navneet Karnani
f2b0adfa05
Nit: Language fix in README.md ( #871 )
...
* Nit: Language fix in README.md
Usage of "then" vs "than"
* update TS petstore samples
2018-08-23 17:33:38 +08:00
William Cheng
3d06900e68
Prepare 3.2.3-SNAPSHOT version ( #870 )
2018-08-22 13:39:20 +02:00
Michael Kotten
526e980a69
[JAXRS] use contextPath variable for @ApplicationPath in RestApplication ( #850 )
...
* Use contextPath variable for RestApplication templates
* Update generated RestApplication.java files, as they are skipped by default otherwise
* Update Petstore sample for jaxrs so that CIs can verify the change
2018-08-22 09:15:08 +02:00
Jens Oberender
9bc335b35e
Forbiddenapis check and fix ( #672 )
...
* Added forbiddenapis check and fixed the findings in the normal code
* Fixed forbiddenapi findings in java templates and samples.
* Generated all samples for Java.
2018-08-22 06:06:01 +02:00
marcotta
bb2712fe45
Use thread safe manager store dictionary ( #864 )
...
Fix crash due to concurrent access of managerStore dictionary.
Swift2 and Swift3 had been enhanced respectively with the following
pull requests: #3873 #5610
2018-08-22 02:27:40 +08:00
Dominik Sumer
450d624474
add possiblity to pass baseOptions to the API Configuration, which will be passed to every fetch call ( #642 )
2018-08-21 16:25:56 +08:00
OmriHarary
ca0c35aa15
[java-server] Fix improper quoting of default values for query parameters ( #708 )
2018-08-21 10:17:31 +02:00
Daiki Matsudate
fcfd8ea76e
Update swift samples ( #738 )
...
* update all swift samples
* fix method name starting with number literal
* better handling of operationId starting with number
* update swift 4 samples
2018-08-21 15:17:56 +08:00