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
Yuta HIGUCHI
2155b7b09e
[JaxRS]Show correct default value on CLI option description ( #3862 )
...
* Show correct default value on CLI option description
Fixes #3861
* Changes after ./bin/jaxrs-petstore-server.sh
2016-09-24 15:11:15 +08:00
David Biesack
fedb0cc352
add title, description to HTML output ( #3860 )
...
* add schema title, description to HTML output
* Include title, description in petstore sample (and HTML output)
2016-09-24 11:14:36 +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
f69d1500c3
[Python][Flask] use tags to organize Python Flask controllers ( #3767 )
...
* use tag to organize flask controller
* fix typo in python flask code gen
* fix operationId for flask generator
2016-09-20 21:11:06 +08:00
Steve Hu
d74a1fbed4
Add a new language generator for undertow-server framework ( #3820 )
...
* add undertow generator
* add apiException
* add undertow server code gen
* reovery sprintboot sample
* update handler
* output swagger.json and handler template change
* remove api template
* remove api.mustache
* update pom.xml
* update readme
* add config files
* add basePath to the handler and upgrade to 0.1.1 framework
* add additional files for release
* fixed the mvn verify issue
* update one template to fix compile error for fake petstore
2016-09-19 22:45:10 +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
Paŭlo Ebermann
72e051ab47
Feature/remove unused variables in html codegens ( #3739 )
...
* Remove unused variables/constants in StaticHtml[2]Generator.
It looks like those were remainders from copy+paste.
* run html-petstore.sh
2016-09-12 11:00:02 +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
Paŭlo Ebermann
bd3a15e273
Feature/#3738 extract abstract scala codegen ( #3755 )
...
* Issue #3738 : extract AbstractScalaCodegen.
This seems to not change anything in the output, at least for the Petstore samples.
* Issue #3738 : move languageSpecificPrimitives initialization to the super class
* Issue #3738 move CliOptions to AbstractScalaCodegen.
* Issue #3738 update samples.
Only one change, remove of unnecessary imports.
2016-09-11 18:00:38 +08:00
wing328
dcdea19cb8
erlang update readme, add petstore samples
2016-09-09 16:42:26 +08:00
Paul Ebermann
65ca059221
Issue #3738 : regenerate Scala samples (no code changes).
2016-09-08 13:00:40 +02:00
wing328
ddd0b8685a
Merge pull request #3750 from wing328/fix_jaxrs_cxf_model
...
[JAX-RS][CXF] To fix enum value issue
2016-09-08 17:54:34 +08: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
4f0f128ddb
fix enum value issue for jaxrs cxf
2016-09-08 17:30:20 +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