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 7d2edf4713c5c3bfb2d1698c4fd110e5b2a07bd9.
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
ccozzolino
2044c36398
Adjust client response handler to be backwards compatible with older versions of Vert.x (<3.5) ( #854 )
2018-08-21 13:12:18 +08:00
Jean-François Côté
ee491a0e5e
Fix problems in typescript jquery generator ( #801 )
...
* Add missing curly bracket + remove unnecessary `postProcessParameter` because it add 2 time "models."
* Add generated client for samples
2018-08-20 08:44:46 -04:00
Yuriy Belenko
e605882451
[PHP] Add gitignore to AbstractPhpCodegen ( #765 )
...
* [PHP] Remove PHP related rules from root gitignore
After conversation with @ackintosh we've agreed that every PHP codegen
should create it's own `.gitignore`. Client libraries(SDKs) should ignore
`composer.lock` file while server stubs better do opposite.
* [PHP] Set .gitignore as default supporting file
* [PHP] Add default gitignore to Client SDK
* [PHP] Add default gitignore to Laravel
* [PHP] Add default gitignore to Lumen
* [PHP] Add default gitignore to Silex
Seems like issue #663 and pull request #681 missed this security script,
I've changed output path in bin/security/silex-petstore-server.sh.
* [PHP] Update Slim
* [PHP] Add default gitignore to Symfony
I've copied few old rules from root gitignore to local one. These rules
should be reviewed by original SymfonyCodegen authors.
* [PHP] Add default gitignore to Zend
* [PHP] Refresh Openapi3 client samples
* [PHP] Add refs to .gitignore templates collection
2018-08-20 12:16:01 +08:00
William Cheng
d593988e5d
fix erlang optiona/required parameters ( #829 )
2018-08-19 14:52:21 +08:00
Victor Orlovsky
0191210145
[Java][Rest-assured] Fix generated javadoc and "swagger-annotations" improvement ( #831 )
...
Added "@Api" swagger annotation, "nickname" for ApiOperation.
Fixed javadock for rest-assured client.
2018-08-17 18:15:02 +02:00
William Cheng
0f30a052b2
Add an option to skip "form" model generation ( #700 )
...
* add option to generate all models
* update doc
* rename option to skipFormModel
* update petstore samples
* Update doc
* Update samples
2018-08-17 17:22:30 +08:00
Rytis Karpuška
1c6ab3f831
Add localVar prefix to parameterized functions variables in cpprestsdk in order to make name clashing less probable. ( #731 )
2018-08-16 18:16:58 +08:00
William Cheng
5ffc297a69
Fix Ruby script path in ensure-up-to-date ( #823 )
...
* fix ruby script path in ensure-up-to-date
* bin/ruby-client-petstore.sh
2018-08-16 13:59:47 +08:00
Victor Orlovsky
e7340bfe5b
[Java][Rest-assured] Fix "invokerPackage" in ApiClient, remove unnecessary @Authorization ( #822 )
2018-08-16 06:15:15 +02:00