Frederick Cai
8e200970d4
[typescript-angular2] build to dist folder
2016-12-11 23:39:18 +13:00
Sreenidhi Sreesha
c83c813865
Refactor Boolean properties to boolean. ( #4326 )
...
There is no good reason to use Boolean instead of boolean.
Using Boolean will lead to handling "null" state which is confusing.
This change removes changes the type of Boolean properties to boolean.
2016-12-10 00:37:50 +08:00
Thomas Hoffmann
7a97c3c375
Still respect super.equals even for models without own vars ( #4259 )
2016-12-09 17:27:55 +08: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
Josh Williams
535b233ff7
Fix for #4344 - update compile.mustache with new dependencies ( #4345 )
...
* Fix for #4344 - update compile.mustache with new dependencies
* Fix compile.mustache to use generatePropertyChanged flag for DLLs
2016-12-08 16:14:25 +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
a0c4b58b53
add guid mapping for c# 2.0 ( #4347 )
2016-12-08 15:59:06 +08:00
wing328
939a8052f3
[Java] Uncomment @Max @Min syntax in bean validation files ( #4340 )
...
* uncomment max min syntax in bean validation files (java)
* remove eol at the end of the file
2016-12-08 15:22:55 +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
Jim Schubert
8e1eeaa737
[csharp] Remove generatePropertyChanged when explicitly false ( #4280 )
2016-12-07 01:04:13 +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
Alec Henninger
2b240a4eb9
Use JavaScript codegen in JavaScript test (instead of Java) ( #4316 )
2016-12-05 10:56:03 +08:00
wing328
18420dd7f9
add serialVersionUID to java model ( #4311 )
2016-12-02 17:59:35 +08: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
fdb6d3020c
Merge pull request #4305 from wing328/android_object_reserved_word
...
[Android] add Object as reserved keyword in Android generator
2016-12-01 19:29:43 +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
564e061da6
add Object as reserved keyword in Android
2016-12-01 17:34:38 +08:00
Sreenidhi Sreesha
af0d217c38
Fix basePath set to null when generating API files. ( #4304 )
2016-12-01 15:46:44 +08:00
jaz-ah
0a97b9c568
make sure to camelize properly before checking for reserved words ( #4302 )
2016-12-01 11:49:56 +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
wing328
5b90276dae
Merge pull request #4202 from gierschv/fix-swift3-inheritance
...
fix(swift3): multi-level inheritance support
2016-11-28 22:21:32 +08: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
cbornet
bcc7e69fcc
[Flask] Add packaging support
2016-11-23 18:40:37 +01:00
wing328
5f372ef15e
Merge pull request #4219 from jordanyaker/master
...
fix(javascript): add check to see if the parsed response is really empty.
2016-11-23 17:23:52 +08:00
wing328
44ca30df63
Merge pull request #4215 from cbornet/flask_param_name
...
[Flask] fix parameter naming
2016-11-23 15:42:42 +08:00
Sreenidhi Sreesha
2f80568658
Refactor code to make it more readable. ( #4224 )
2016-11-23 15:13:15 +08:00
Nick Maynard
4c05d5f098
Allow Java source formatting mvn formatter:format ( #4214 )
...
Uses Eclipse formatting tools with a configuration matching Google's style guide (plus our customisations).
2016-11-23 15:07:25 +08:00
plankswert
ba194ba361
Added support for string responses ( #4057 )
...
* Added support for string responses
When a method/URL/response is defined to return string:
- If no content types are define, default to 'text/plain' instead of
'application/json'
- Add response handler, that returns the reponse string as-is if response
content-type is 'text/plain'
* Removed use of unused tag vendor tag
- The tag was vendorExtensions.x-codegen-response.isPrimitiveType
2016-11-23 14:31:31 +08:00
menchauser
6ebc2fc051
Fix support for 'class' properties in Java codegen ( #4237 )
...
* Fix support for 'class' properties in Java codegen
Currently Java codegen works successfully for property named 'class' but
fails on '_class', '__class', etc, because of 'Object.getClass()'
overloading.
This fix is intended to avoid all Object method overloading cases.
* Regenerated samples for Java petstore-security-test
2016-11-23 00:18:40 +08:00
wing328
58b66a0b0a
python code style enhancement ( #4238 )
2016-11-22 23:01:41 +08:00
wing328
474dae08cf
update NodeJS readme to remove oudated doc ( #4232 )
2016-11-22 10:42:15 +08:00
Ewan Mellor
9dc809bdc7
Add two override points inside AlamofireRequestBuilder in the Swift 3 template. ( #4170 )
...
* Add two override points inside AlamofireRequestBuilder in the Swift 3 template.
These allow the caller to control the request configuration (e.g.
to override the cache policy) and to control the Content-Type that is
given to an uploaded form part.
* Regenerate with ./bin/swift3-petstore-all.sh to match recent changes.
This includes a few minor changes that weren't made in this branch, so this
apparently wasn't run on master after some other recent changes.
2016-11-22 00:19:17 +08:00
Martin McWhorter
515e723fae
Allow TypeScript noImplicitAny: true ( #4205 )
...
* Allow TypeScript noImplicitAny: true
* Update typescript-angular2 examples
2016-11-21 19:39:07 +08:00
szakrewsky
76965594b9
Issue #2449 SubClass annotations are missing from the base class ( #4085 )
...
* petstore up to latest
* Issue #2449 SubClass annotations are missing from the base class
* include child in all its super types
2016-11-21 17:03:26 +08:00
wing328
1968bead43
Merge pull request #4221 from wing328/swift_generator
...
[Swift] add ErrorResponse as reserved word in Swift generators
2016-11-21 01:00:17 +08:00
wing328
6ad38874c5
[ObjC] version update for ISO8601 ( #4220 )
...
* remove php apache license
* update iso8601 version for objc client
2016-11-21 00:43:41 +08:00
wing328
e7e99eb69f
add ErrorResponse as reserved word in Swift generators
2016-11-21 00:38:01 +08:00
cbornet
9322c8fb0e
[Flask] fix parameter naming
2016-11-20 11:21:09 +01:00
Jordan Yaker
5a2ec03549
fix(javascript): added check to see if the parsed response is really empty.
2016-11-19 15:06:36 -05:00
Christophe Bornet
df15799839
[Flask] Add generated tests ( #4209 )
2016-11-19 16:31:31 +08:00