Anton Vasin
41701a15b0
Fix typo. Creactor -> Creator ( #4443 )
2016-12-22 23:08:06 +08:00
Ezekiel Templin
e189388371
[Ruby] Add Rakefile and Gemfile ( #4448 )
...
* Add Rakefile, Gemfile, and update client generator
* Update sample
2016-12-22 21:37:12 +08:00
wing328
204c05442d
[ObjC] minor code style enhancement to ObjC API client ( #4437 )
...
* minor code style enhancement to objc api client
* update petstore sample
* remove datatype from docstring (objc)
2016-12-20 19:13:03 +08:00
wing328
4870cf4ab1
Merge branch 'Ignore_Javatypes_On_ModelPre_and_Suffixes' of https://github.com/d0x/swagger-codegen into d0x-Ignore_Javatypes_On_ModelPre_and_Suffixes
2016-12-20 17:46:52 +08:00
Vincent Giersch
7f980cd9dd
fix(swift3): lowercase enum value before checking reserved words ( #4357 )
...
Signed-off-by: Vincent Giersch <vincent@giersch.fr>
2016-12-20 16:35:03 +08:00
Greg Rashkevitch
36b97c22af
Fix warning docs return type ( #4429 )
...
* Objective C: Fix compilation warnings
If returnType is not provided, set the @return as void
* Run the `./bin/objc-petstore.sh`
* OBJECTIVE C SDK: Remove the return line for methods that return nothing all together
* obj-c sdk: Updated petstore sample
2016-12-20 16:10:47 +08:00
Johan Nystrom
ff70105484
Fix CSV collection parameter issues for scalatra server ( #4426 )
...
* Fix scalatra handling of CSV query parameters
* Ran petstore for scalatra server
2016-12-20 16:02:45 +08:00
wing328
43ff85db76
Merge pull request #4421 from wing328/fix_isfile_boolean
...
Fix `isPrimitiveType` for file property
2016-12-20 15:48:55 +08:00
wing328
7fd895b37d
fix isPrimitiveType for file
2016-12-18 19:02:26 +08:00
wing328
8ccf9828e4
[Python] add hasConsumes/hasProduces to Python API template ( #4419 )
...
* add hasConsumes/hasProduces to python api template
* remove unused code in python
* fix isFile in the api doc (python)
2016-12-18 17:20:10 +08:00
Hamed Ramezanian Nik
6af43dc720
[csharp] Escape special characters in the API doc ( #4183 )
...
Special characters like <> should be HTML escaped.
2016-12-16 19:07:00 +08:00
wing328
2bf3d051a9
update html2 sample
2016-12-16 18:14:55 +08:00
Brian Shamblen
bd81f3264d
[html2] Fix import statements for most languages ( #4243 )
...
* [html2] Clean up namespace issues in code samples
* pull c# and php package namespace from --additional-properties arg
phpInvokerPackage arg now sets the PHP namespace and packageName sets
the CSharp namespace. invokerPackage still works for Java and Android
namespace.
2016-12-16 18:06:28 +08:00
wing328
ffbead3f9d
Merge branch 'master' into typescript-angular2-build-to-dist-folder
2016-12-15 21:40:48 +08:00
wing328
131cbeb350
remove generation timestamp
2016-12-15 19:34:15 +08:00
wing328
7fc8b24001
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-12-15 00:42:51 +08:00
wing328
f63d962258
update ts angular2 sample
2016-12-15 00:42:08 +08:00
wing328
7b7e5e25ee
Merge branch 'angular2-standalone-enums-support' of https://github.com/SamuelBeliveau/swagger-codegen into SamuelBeliveau-angular2-standalone-enums-support
2016-12-15 00:09:34 +08:00
wing328
a143e9c10c
add int/long check for @min/@max in java model ( #4395 )
2016-12-14 22:21:52 +08:00
lukoyanov
a13dee7167
[Java] Play! Framework 2.4 WS client support + retrofit2 ( #4270 )
...
* implemented core integration with play 2.4 ws
* added shell script to test on CI
* added shell script to composite file for all java generators
* added some comments
changed promise param to Response<T> to allow access to http status code and raw response if needed
* removed unnecessary whitespace changes
* added java7 compatibility, play ws deps to pom.xml
* added generated play24 client
* fixed imports
2016-12-14 17:32:49 +08:00
Matan Rubin
5867728724
[JaxRS-CXF][bug #4330 ] support containers in return types ( #4339 )
...
* [JaxRS-CXF][bug #4330 ] support containers in return types
before this commit if a method returned a container (List or Map) of
THING (i.e. List<THING> or Map<String, THING>) the generated return type would
drop the container and only leave THING.
this commit fixes this issue such that the container type is properly
generated.
* regenerate jaxrs-cxf petstore sample
2016-12-14 13:58:56 +08:00
Chris Putnam
4fa3595a41
[typescript-angular2] Fix syntax error ( #4383 )
...
* allow function so access token can be derived for each api call
* update tests
* update type for accessToken to be string or function that returns string
* fix syntax error
2016-12-14 11:50:02 +08:00
wing328
dbb66af73d
[C#] Add auto-generated doc for c# 2.0 generator ( #4354 )
...
* add auto-generated doc for c# 2.0 generator
* update readme for c# 2.0
* update readme
* update namespace in the doc
2016-12-14 11:49:15 +08:00
wing328
a291d3113a
[Android] better code format for Android (volley) API client ( #4384 )
...
* better code format for android volley
* better code format for apiinvoker, add docstring
* use 2-space indentation for pair class
* use 2 spaces indentation for other classes in android
2016-12-14 00:40:21 +08:00
Dan Wilson
e55664cdc9
Remove invalid code from mustache for arrays. ( #4266 )
...
Rewrite ParameterToString to handle other slice types other than just string.
2016-12-13 16:13:06 +08:00
wing328
5818f2c882
[C++] better code format for cpprest
templates ( #4379 )
...
* replace tab with 4-space in cpprest templates
* remove trailing whitespaces from templates
* fix code indentation in cpprest templates
* remove empty block in cpprest templates
2016-12-13 16:09:56 +08:00
weiyang
beeb02a2dc
[html] Add type anchor to body param block ( #4368 )
...
* [html] Add type anchor to 'bodyParam' block
Signed-off-by: weiyang <weiyang.ones@gmail.com>
* [html][samples] Add type anchor to 'bodyParam' block
Signed-off-by: weiyang <weiyang.ones@gmail.com>
2016-12-13 15:52:22 +08:00
Scott Richter
da9d64d053
Fix for issue #4370 - Cpprest does not set Content-Type header on POST requests. ( #4374 )
...
* Fixed cpprest generator to include Content-Type header in requests.
* Fixing indent to use spaces.
2016-12-13 15:01:47 +08:00
Chris Putnam
0b5a6f25da
[typescript-angular2] access token function ( #4361 )
...
* allow function so access token can be derived for each api call
* update tests
* update type for accessToken to be string or function that returns string
2016-12-13 00:39:09 +08:00
wing328
62aabfc6c1
Merge branch 'jfiala-beanval_2549'
2016-12-13 00:05:03 +08:00
Frederick Cai
8e200970d4
[typescript-angular2] build to dist folder
2016-12-11 23:39:18 +13:00
Vlad Frolov
4d2a13018b
[Python] Make the code look Pythonic ( #4352 )
2016-12-09 17:26:23 +08:00
Jens Oberender
c3571b28a5
Some code cleanings of problems reported by SonarQube. ( #4324 )
...
* Some code cleanings of problems reported by SonarQube.
* Updated changes to the petshop sample.
2016-12-09 15:55:33 +08:00
wing328
a0f2b235f1
[C#] fix build.sh for PropertyChanged feature in C# API client ( #4349 )
...
* fix build.sh for PropertyChange in C#
* add new csharp files
* manual fix to enum ref in c# client
2016-12-09 00:03:38 +08:00
wing328
af2db27a83
remove trailing space in ts fetech api, add npm test to ci ( #4348 )
2016-12-08 18:09:20 +08:00
Christopher Chiche
a3d3082105
[Typescript/Fetch] Fix tslint issues in generated code ( #4313 )
...
* [Typescript/Fetch] Fix tslint issues in generated code
* Add security generated files.
* Use tslint version that doesn't require typescript 2
* Run build scripts
2016-12-08 16:01:50 +08:00
wing328
162352cb4b
Fix maximum, minimum for Integer
( #4335 )
...
* fix int/long max, min value (removing decimal)
* fix integer min/max in parameter
2016-12-07 19:29:36 +08:00
Alvin
b7984e55a7
[Swift3][bug#4318] Bug when handling java date ( #4332 )
...
* fix bug #4318
* swift3 samples update
2016-12-07 17:58:21 +08:00
wing328
8153f0e89b
Fix test spec issue ( #4334 )
...
* fix issue with swagger spec (number => integer)
* remove space from spec
2016-12-07 16:46:41 +08:00
Sebastian Haas
648f8df235
Fix for missing headers ( #4328 )
...
* Fix for #4322
Signed-off-by: Sebastian Haas <sebastian@haas.tech>
* Run typescript-angular2-petstore.sh
Signed-off-by: Sebastian Haas <sebastian@haas.tech>
* Run typescript-angular2-petstore.sh
Signed-off-by: Sebastian Haas <sebastian@haas.tech>
2016-12-06 23:59:59 +08:00
Samuel Beliveau
964a9a9696
Support for standalone enums in Typescript-Angular2
...
Improved typescript primitive detection for tagging type with models namespace
2016-12-02 10:24:32 -05:00
wing328
31d31b9466
[Ruby] use hasConsumes, hasProduces in ruby client ( #4310 )
...
* use hasConsumes, hasProduces in ruby client
* add new ruby files
2016-12-02 17:22:46 +08:00
wing328
87cb779fd4
[Typscript][Angular2] Remove tab in TS Angular2 template ( #4294 )
...
* remove tab in ts angular2 template
* update petstore sample after basing on master
2016-12-01 19:09:22 +08:00
wing328
c6aea46fa0
fix import in sample code (dart) ( #4292 )
2016-11-30 18:30:30 +08:00
wing328
a603ccb595
[Dart] add auto-generated documentation ( #4291 )
...
* new files for dart client
* update doc for dart
* update api and model doc for dart
* update dart petstore sample
* update dart doc
* update dart petstore sample
* update dart petstore sample
* update dart client installation instruction
2016-11-30 17:41:55 +08:00
Christopher Chiche
b733334eee
[Typescript/fetch][Issue4284] Handle query parameters containing colons ( #4287 )
...
Put query parameters between quotes and access object keys using square
brackets to make sure special characters are handled in parameter
names.
Closes #4284
2016-11-30 15:22:38 +08:00
wing328
1925928efa
Merge pull request #4038 from alechill/4025-typescript-fecth-request-options
...
[TYPESCRIPT] Support passing custom RequestInit options in typescript-fetch client…
2016-11-29 22:32:03 +08:00
ChrisJamesC
e7397d208e
Fix linting issues
...
Add missing semicolons and remove trailing space in generated code.
2016-11-28 16:48:30 +01:00
Robert Biehl
1ea9865a44
[PHP] Fix discriminator handling ( #4246 )
...
* [PHP] Fix discriminator handling
* [PHP] Fix discriminator handling (Update examples)
2016-11-25 16:12:41 +08:00
Daniel
c15743bfe6
Issue4254 ( #4255 )
...
* Issue 4254 - Added mechanism for cache bursting
* Issue 4254 - Updated petstore samples
2016-11-25 00:14:59 +08:00