Christophe Bornet
2680995825
[Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date ( #3768 )
...
* [feign] use a jdk6 compatible serializer for java.util.Date
See #3727
Fix #3753
* [jersey] use a jdk6 compatible DateFormat for java.util.Date
2016-10-11 00:42:52 +08:00
Stas Shakirov
26faf6cf4e
remove newline char in *.mustache; added generated code
2016-10-10 14:42:08 +03:00
Andreas Franzén
d21613c6ab
Bugfix/3929 do not set multipart ( #3932 )
...
* Do not set Content-Type to multipart/form-data
It causes superagent to not add the boundary in the Content-Type
* Run shell-scripts
2016-10-08 12:36:56 +08:00
wing328
65f925f45c
fix python required property check and validation for optional properties
2016-10-07 15:50:57 +08:00
vishal khawarey
0ca60352e2
required tag is used in model, allows null values ( #3923 )
...
* required tag is used in model, allows null values
* updated petstore api for CI
* dont raise exception for 0 or false
2016-10-07 15:26:05 +08:00
wing328
574349570a
fix number format for dart model
2016-10-07 00:47:05 +08:00
sylvain-abadie
94cd2cb6a0
[Objc] Added support for lower case discriminator ( #3927 )
...
* [Objc] Added support for lower case discriminator
* Updated Objc petstore samples
* Fixed code style
2016-10-06 23:29:55 +08:00
wing328
cd6b5fec20
[Android][Volley] add serializeModel support to Android ( #3933 )
...
* add serializeModel support to Android
* add test for new android option
2016-10-06 17:35:33 +08:00
wing328
6ef0209dea
add back java okhttp petstore client
2016-10-05 22:55:01 +08:00
wing328
8db0ec8b73
fix pom duplicated id issue
2016-10-05 22:55:01 +08:00
wing328
c915f8ecdc
update pom to test java okhttp-gson parcelable models
2016-10-05 22:55:01 +08:00
wing328
8ce8082f7f
fix bug with parcelable
2016-10-05 22:54:17 +08:00
Bartek Kryza
40a1879797
Bugfix/issue 3723 ( #3726 )
...
* Extended request generation logic with support for serialized body content types other than Json
* Updated the Petstore Python client tests
* Fixed body content type identification for strings
2016-10-02 17:02:03 +08:00
Charles
d4f9a16cf6
Cgardens nested object regex ( #3879 )
...
* stop parsing key of object at first comma.
* update samples
2016-10-02 16:32:17 +08:00
Scott Richter
b2e2643fd2
[Cpprest] Fixing issue #3773 ( #3876 )
...
* Fixed errors with cpprest client generation when generating a client that uses arrays of primitive types (vector) and file responses (HttpContent).
* Updated the petstore sample using script.
* Removed debug code.
* Removed extra newline to match master.
* Fixed binary file handling in cpprest. Updated petstore samples.
* Update readme to add Cummins to list
* Cleaning up for pull. Removing unnecessary changes.
* Fixing petstore
* Fixing error in build.
* Fixed error in stream copy for binary data
* Replaced tab with 4 spaces in all modified files.
Replaced tab with 4 spaces in all modified files.
2016-09-30 10:31:24 +08:00
wing328
f59c28d08a
escape callback parameter for java(okhttp) and python
2016-09-29 17:41:47 +08:00
Dalibor Karlović
10d3dea89e
[PHP] fix PHPUnit invocation, add basic phpunit.xml.dist ( #3864 )
...
* feature(phpunit) fix PHPUnit invocation, add basic phpunit.xml.dist
* fix(phpunit) add proper paths relative to phpunit.xml.dist
2016-09-28 19:44:07 +08:00
wing328
ec25bd793f
[Java] Remove duplicated model description in Spring, JAX-RS models ( #3887 )
...
* fix duplicated description in spring model
* fix duplicated description in jaxrs models
* fix resteasy dependency
2016-09-28 19:34:38 +08:00
Dalibor Karlović
70fa2fb78e
[PHP] Better PSR2 compatibility ( #3863 )
...
* feature(php-cs-fixer) add php-cs-fixer support
* feature(php-cs-fixer) tweak Mustache templates to fit PSR2
* feature(php-cs-fixer) bin/php-petstore.sh output
2016-09-27 08:23:44 +08:00
Jason Gavris
9e54dce92f
[Swift] Use thread safe manager dictionary
2016-09-26 11:27:07 -04:00
wing328
fa12cd3787
Replace ^M with new line (\r) in mustache template ( #3865 )
...
* fix jaxrs line break
* fix java gradle bat line break
* fix scala gradle line break
* fix undertow crt line break
* fix spring line break
* fix undertow line break in pom
* rollback undertwo petstore to use petstore.yaml
2016-09-26 16:49:44 +08:00
wing328
dce532e8c7
fix trailing comma in go api client
2016-09-24 00:57:01 +08:00
wing328
f47208a75b
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-09-24 00:17:54 +08:00
wing328
110c22ea98
Merge branch 'issue-3690-additional-fields' of https://github.com/neilotoole/swagger-codegen into neilotoole-issue-3690-additional-fields
2016-09-24 00:17:18 +08:00
wing328
d1c1c9d08f
fix typescript-fetch base path by removing ending slash
2016-09-23 19:12:40 +08:00
Kamil
9301db60e6
redundant quotation mark ( #3837 )
...
* Removed redundant quotation mark
This additional quotation mark is causing problems in out project and should be removed.
ngrep output:
```
Content-Disposition: form-data; name="file"; filename="file""
..Content-Transfer-Encoding: binary..Content-Type: image/jpg..Content-Length: 27855..........JFIF....
```
* updated petstore sample
* removed line break
2016-09-23 18:33:27 +08:00
Sergii Rustamov
fee23f2230
Support cpprest on Linux ( #3847 )
...
* Support cpprest on Linux
* Update petstore code
2016-09-23 18:32:33 +08:00
wing328
e3b891a924
Merge pull request #3850 from wing328/fix_swift_pod_file
...
[Swift] add default value to swift podspec
2016-09-22 19:26:24 +08:00
Kim Sondrup
9bb097fcf5
[PHP] Correct Composer license identifier ( #3848 )
...
* [PHP] Correct Composer license identifier
* Update petstore PHP
2016-09-22 18:49:08 +08:00
wing328
70ed52cee0
add default value to swift podspec
2016-09-22 18:41:53 +08:00
wing328
d11c7ad09a
fix typescript angular2 model - optional/required
2016-09-21 20:08:27 +08:00
wing328
4293dff3a4
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-09-19 16:26:51 +08:00
wing328
1d748e47da
fix copmile for C# model annotation
2016-09-19 16:25:47 +08:00
wing328
e4792555df
add petstore jmeter sample
2016-09-19 14:59:48 +08:00
Anton Savchenko
945c9a1406
[typescript-angular2] npm publish missing files ( #3791 )
...
* [typescript-angular2] npm publish missing files
* [typescript-angular2] build to dist folder
2016-09-19 10:41:29 +08:00
geetikagupta16
1e4f30eb16
Fixed bug for handling optional header parameters ( #3776 )
...
* Fixed #3774
Refactored code to handle optional header parameters.
* Changed null check with pattern matching
2016-09-15 23:28:01 +08:00
timadamson
fe7acabc4b
add authentication to typescript-angular2 ( #3781 )
...
* add authentication to typescript-angular2
* updated typescript-angular2 petstore example
* update typescript-angular2 with simplified conditionals
2016-09-15 00:35:14 +08:00
wing328
e6049d6d30
Merge pull request #3797 from xaviapa/bugfix/issue-3783
...
Added !is_null condition in setter conditions for non-required proper…
2016-09-14 20:54:05 +08:00
Xavi Aparicio
31a3436a8e
Added !is_null condition in setter conditions for non-required properties
2016-09-14 13:41:05 +02:00
wing328
1dd9ee39af
[C#] Add CI tests to cover C# Petstore client with "PropertyChanged" ( #3796 )
...
* add c# api client with proeprty changed to CI
* add shell script to update all C# petstore sample
2016-09-14 18:43:13 +08:00
wing328
19047c2eec
[C#] fix the location of FodyWeavers.xml ( #3782 )
...
* fix fody weavers xml location
* update c# petstore sample
2016-09-13 18:05:42 +08:00
wing328
e14cf8a526
Merge branch 'csharp_fix_enum' of https://github.com/wing328/swagger-codegen into wing328-csharp_fix_enum
2016-09-13 16:46:27 +08:00
wing328
907db0dd5b
[Scala] enhancement to indention and null check ( #3775 )
...
* fix scala api null check and indention
* minor format fix
2016-09-13 09:56:06 +08:00
wing328
3e0a1be8aa
update typescript-angular2 petstore sample
2016-09-12 16:44:35 +08:00
Richard
bc2f614b92
apiInvoker : in getInstance, if instance is null initialize instance ( #3766 )
...
* apiInvoker : in getInstance, if instance is null initialize instance
build : replace the deprecated volley library by the android one
jsonUtil : Add in gsonBuider an adapter to deserialize Date class
And update petstore sample for volley library
* Update apiInvoker.mustache
Add a space after if, to stick to the code style.
* Update ApiInvoker.java
Add a space after if, in petstore samples, to stick to the code style.
2016-09-12 15:56:35 +08:00
wing328
5bb203504c
Merge pull request #3772 from wing328/scala_model_indent
...
[Scala] better format of model properties
2016-09-12 11:27:02 +08:00
Bartek Kryza
6d6832e7a6
Fix for #3712 - invalid enum array validation in Python client mustache model ( #3713 )
...
* Fixed invalid enum array validation in Python client mustache model
* Updated the Petstore Python client tests
* Removed superfluous array enum test
* Added test cases for Python client array and map enums
* Improved map enum error message
2016-09-12 11:00:49 +08:00
ataraxus
1d7d37409a
Fix for issue #3743 ( #3744 )
...
* fix map usage in api generation #3694
* fix map usage in api generation #3695
* close impl gap between queryParam and formParam, to be more consistent
* use working copy constructor
2016-09-11 23:11:35 +08:00
wing328
ac69f45ddc
better format of model properties
2016-09-11 18:44:36 +08:00
Paul Ebermann
65ca059221
Issue #3738 : regenerate Scala samples (no code changes).
2016-09-08 13:00:40 +02:00
Ville Skyttä
735390f633
[Python, Ruby, PHP] Validate min/maxItems ( #3734 )
...
* python: Validate min/maxItems
* ruby: Validate min/maxItems
* lumen: Validate min/maxItems
* php: Validate min/maxItems
2016-09-08 17:33:59 +08:00
wing328
326b8020d2
fix property name 'result' for android using "this"
2016-09-07 18:55:19 +08:00
wing328
892c9e017a
Merge pull request #3730 from scop/python-maxlength-msg
...
python: Fix model maxLength validation error message
2016-09-07 17:12:28 +08:00
wing328
3d1f621f8b
Merge pull request #3729 from scop/spelling
...
Spelling fixes
2016-09-07 15:43:17 +08:00
Cliffano Subagio
92eb722ced
[ruby] Add gemspec required_ruby_version setting. ( #3718 )
...
* [ruby] Add gemspec required_ruby_version setting.
* [ruby] Add gemspec required_ruby_version setting.
* Add gemRequiredRubyVersion option to Ruby client code generator.
2016-09-06 22:25:39 +08:00
Ville Skyttä
f436f0eee2
python: Fix model maxLength validation error message
2016-09-06 14:49:00 +03:00
Ville Skyttä
91b7494e3e
Spelling fixes
2016-09-06 14:45:04 +03:00
wing328
fb3b91550c
add back test cases for java jersey1 client
2016-09-06 18:51:28 +08:00
Ville Skyttä
ddc5b80438
[Lumen, PHP, Python, Ruby] Implement exclusiveMinimum/Maximum ( #3717 )
...
* Ignore exclusiveMinimum/Maximum in setting hasValidation
* python: Implement exclusiveMinimum/Maximum
* ruby: Implement exclusiveMinimum/Maximum
* lumen: Implement exclusiveMinimum/Maximum
* php: Implement exclusiveMinimum/Maximum
2016-09-06 14:57:35 +08:00
ataraxus
59891c7f66
fix map usage in api generation #3694 ( #3714 )
...
* fix map usage in api generation #3694
* fix map usage in api generation #3695
* close impl gap between queryParam and formParam, to be more consistent
2016-09-06 10:59:54 +08:00
Neil O'Toole
f751e50e2e
Issue #3687 silence resty logging [Go] ( #3705 )
...
* disabling resty logger
* #3687 updating go-petstore
2016-09-05 17:11:34 +08:00
wing328
e68b364479
update ruby regular expression to use \A
2016-09-05 16:06:38 +08:00
Masahiro Saito
92aa8ed767
[Ruby] Fix ambiguous regex ( #3716 )
...
* ruby: Fix ambiguous regex
* ruby: Add test for strict regex
2016-09-05 15:37:54 +08:00
wing328
43bac10bb3
Merge pull request #3700 from scop/php
...
php: Fix syntax error when pattern contains a single quote
2016-09-03 16:37:40 +08:00
Kim Sondrup
1539986984
[PHP] Corrected PHPDoc type declarations ( #3710 )
...
* [PHP] Corrected PHPDoc type declarations
* Update petstore PHP
2016-09-03 16:06:07 +08:00
Neil O'Toole
8183d96088
#3690 adding RequestURL, Method, Operation and Payload fields to APIResponse
2016-09-02 06:49:39 -06:00
wing328
7a4a430c43
Merge pull request #3702 from scop/ruby
...
ruby: Fix syntax error when pattern contains a single quote
2016-09-02 16:22:47 +08:00
Ville Skyttä
c43286c569
Python collection formatting fixes/support ( #3697 )
...
* python: Rework form data collection formatting support
* python: Add/fix support for query string collection formatting
* python: Add/fix support for path collection formatting
* python: Add/fix support for header collection formatting
2016-09-02 16:17:46 +08:00
Ville Skyttä
2af822677f
php: Fix syntax error when pattern contains a single quote
2016-09-02 10:42:08 +03:00
Ville Skyttä
6bb0ea2e8a
ruby: Fix syntax error when pattern contains a single quote
2016-09-01 20:45:52 +03:00
wing328
b909252bb8
Merge pull request #3699 from scop/java
...
java: Javadoc fixes
2016-09-02 00:44:53 +08:00
Ville Skyttä
0363858672
java: Javadoc fixes
2016-09-01 18:07:35 +03:00
Ville Skyttä
e52a8e34cb
Spelling fixes
2016-09-01 17:39:30 +03:00
Jyotsna Karan
062e6fc3ac
Added functionality to handle optional parameters for Scala ( #3683 )
...
* 1. Modified api.mushtache to handle optional paramters for scala (#3665 )
2. Updated petstore sample for scala
* Generated scala-petstore.sh (#3665 )
* 1. Updated api.mustache to handle optional thing with headers and file parameters
2. Generated petstore sample for the above changes
2016-09-01 18:11:23 +08:00
Ville Skyttä
8e7d3d1a72
Python fixes ( #3689 )
...
* python: Fix unsupported method exception message
* python: Implement form data collection formatting
2016-09-01 15:05:52 +08:00
wing328
d464bfbd59
fix JS auth issue due to missig comma
2016-08-31 17:50:56 +08:00
wing328
eb59e2945e
remove unnecessary change for c# codegen
2016-08-31 17:31:55 +08:00
wing328
8523c57f8c
remove unnecessary change in JS closure codegen
2016-08-31 17:13:35 +08:00
wing328
5804fbc1dd
remove unnecesary change in JS codegen
2016-08-31 16:52:46 +08:00
wing328
322862c4b6
add hided timestamp option to swfit codegen
2016-08-31 16:45:12 +08:00
wing328
da45cb7ff5
remove unnecessary changes for php codegen
2016-08-31 16:38:30 +08:00
wing328
4ea4488212
remove unnecessary change for ruby codegen
2016-08-31 15:57:04 +08:00
wing328
ebfddd0a58
remove unnecessary changes for python codegen
2016-08-31 15:49:22 +08:00
wing328
2ced9e1deb
Don't HTML escape PHP pattern output ( #3672 )
...
* php: Do not HTML escape patterns
* php: Update petstore
* lumen: Do not HTML escape pattern
* lumen: Update petstore
2016-08-31 14:07:29 +08:00
wing328
429bc46a79
Merge branch 'python-patterns' of https://github.com/scop/swagger-codegen into scop-python-patterns
2016-08-31 13:54:47 +08:00
wing328
343ca03512
Merge branch 'issue-3647' of https://github.com/zbiro/swagger-codegen into zbiro-issue-3647
2016-08-31 00:25:06 +08:00
Ville Skyttä
fa0e0f4fcc
python: Update petstore
2016-08-30 08:07:35 +03:00
Ville Skyttä
a95ade6d2a
php: Update petstore
2016-08-30 08:05:04 +03:00
Daniel Ge
dd1ed12318
Make connection failures visible with generated Ruby SDKs ( #3640 )
...
* Make connection failures visible in Ruby SDK
The underlying HTTP library, Typhoeus, requires you to be explicit about
error handling. Unfortunately, this also means that we can't assume that
`response.success?` will be false only when the HTTP status code is not
a 200; it could also be false when the request fails (timeouts, TLS
verification issues, etc.). This commit adds explicit error handling for
these cases.
* Update samples
2016-08-30 10:28:07 +08:00
Ville Skyttä
224fd208e7
Various python cleanups ( #3650 )
...
* python: Let logging format messages on demand
* python: Use six more
* python: Remove unused imports
* python: flake8 fixes
* python: Make examples compatible with Python 3
* python: Spelling fixes
2016-08-30 10:16:17 +08:00
Zoltan Biro
b050ba9dc3
regenerate petstore sample
2016-08-29 16:47:22 +02:00
sidhantgoyal
8dfe230b7c
[android] volley socket timeout configurable ( #3646 )
...
* [android] volley socket timeout configurable
* Updated Android Volley Petstore sample
2016-08-29 16:31:49 +08:00
Ville Skyttä
2fbec6d9eb
Spelling fixes
2016-08-28 17:05:34 +03:00
Ville Skyttä
9c92bcb693
perl: Sync default user agent with other languages
2016-08-28 15:11:32 +03:00
wing328
598c21b06e
add new perl petstore files
2016-08-28 16:02:09 +08:00
wing328
72d0cd7eb4
update petl sample
2016-08-28 15:57:50 +08:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
wing328
81f947e723
update android petstore sample, add this to volley's model
2016-08-25 23:12:23 +08:00
Tony Wang
beaf1fc7aa
fix #3477 , add RxSwift support for Swift ( #3490 )
...
* fix #3477 , add RxSwift support for Swift
* make the SwaggerClient scheme shared
2016-08-25 19:34:12 +08:00
Jason Gavris
e89f914e8b
[Swift] Handle String responses
2016-08-23 10:18:01 -04:00