Commit Graph

7420 Commits

Author SHA1 Message Date
Vasco Santos
b8843ab466 Update README.md
Added a new company to the company list
2016-09-23 02:06:12 +01:00
Matt Alexander
12fb4becd7 Fix custom generator execution example 2016-09-22 14:36:08 -05: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
cfed530997 Merge pull request #3843 from wing328/fix_ts_angular2_model_optional
[Typescript][Angular2] Fix required properties in the model
2016-09-21 20:32:04 +08:00
wing328
d11c7ad09a fix typescript angular2 model - optional/required 2016-09-21 20:08:27 +08:00
wing328
ff90954dc6 Merge pull request #3840 from 0xced/fix-oauth-flow-npe
Fix NullPointerException when the oauth flow is missing
2016-09-21 10:39:52 +08:00
Cédric Luthi
72058c2638 Fix NullPointerException when the oauth flow is missing 2016-09-21 00:48:16 +02:00
wing328
6ac5a2c306 Merge pull request #3825 from wienczny/tripleMustacheExtraAnnotation
Use triple mustache for vendorExtensions.extraAnnotation
2016-09-20 21:12:16 +08:00
wing328
14bcbcbb29 Merge pull request #3834 from vkotovv/readme-typo-fix
Fixed typo in Readme
2016-09-20 21:11:28 +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
Vadim Kotov
daa068aa4d Fixed typo in Readme
Fixed Swaagger -> Swagger
2016-09-20 12:38:00 +03:00
wing328
3073ed0042 add gotransverse 2016-09-20 10:32:58 +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
Stephan Wienczny
e96b177305 Use triple mustache for vendorExtensions.extraAnnotation
Triple mustache is required because annotations may contain chars like "=" that
would be mistakenly encoded.
2016-09-19 16:24:51 +02: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
8a61f92061 Merge pull request #3822 from wing328/jmeter_bin
[JMeter] add JMeter petstore sample
2016-09-19 15:24:49 +08:00
wing328
1be134facf Merge branch 'csharp/property-validations' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp/property-validations 2016-09-19 15:19:58 +08:00
wing328
e4792555df add petstore jmeter sample 2016-09-19 14:59:48 +08:00
wing328
76d3ec9be2 Merge pull request #3801 from richardfriedman/issue-3800
[jmeter] #3800 Fixing testCases and paramName
2016-09-19 11:50:47 +08:00
wing328
f41a3b82a9 Merge pull request #3809 from j4velin/master
Fix NullPointerException if there are no other properties
2016-09-19 11:44:14 +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
Thomas Hoffmann
61bd023e3d Fix NullPointerException if there are no other properties
Change-Id: I6711e96d4b119b2cf78860d4eb43fc178edae372
2016-09-16 12:36:59 +02: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
Richard Friedman
5aff601eac [jmeter] #3800 Fixing testCases and paramName 2016-09-14 12:25:39 -04:00
cbornet
b7f2b28534 [resteasy] configure jackson to use rfc3339 dates 2016-09-14 17:37:04 +02: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
cbornet
1b1fe95855 [jersey] configure jackson to use rfc3339 dates 2016-09-14 12:17:33 +02: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
07eff7116b Merge branch 'wing328-csharp_fix_enum' 2016-09-13 16:46:40 +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
0cba285cac Merge branch 'jimschubert-csharp/INotifyPropertyChanged' 2016-09-13 15:59:26 +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
153397e799 Merge pull request #3778 from wing328/update_ts_angular2_petstore
[Typescript][Angular2] Update typescript-angular2 petstore sample
2016-09-12 17:07:11 +08:00
wing328
3e0a1be8aa update typescript-angular2 petstore sample 2016-09-12 16:44:35 +08:00
stevedenman
314bfdece2 Add last response code and headers (#3760)
* Add last response code and headers

Apply same workaround as https://github.com/swagger-api/swagger-codegen/pull/1127 to typescript-angular2 template.

* Add WithHttpInfo() methods to return raw response.

* Revert change to http method formatting
2016-09-12 16:24:12 +08:00
Zheng Can
0c59aefe90 Make InlineModelResolver resolve vendorExtensions correctly for Schema Object (#3719)
* Fix InlineModelResolver to ensure the vendorExtensions could be accessed via schema object or inline model.

* format the code

* Copy vendor extension to property only.
2016-09-12 16:09:07 +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
wing328
77d31300a1 Merge pull request #3757 from ePaul/feature/#3738-add-sourceFolder-property
Feature/#3738 add source folder property
2016-09-12 11:10:28 +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
Paul Ebermann
d3eedafe84 Issue #3738: introduce the sourceFolder property for all Scala "languages". 2016-09-11 20:10:51 +02: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