Commit Graph

4051 Commits

Author SHA1 Message Date
cbornet
412022b852 add petstore samples and fix some issues 2016-07-06 10:30:10 +02:00
cbornet
a761682115 add a generator for spring cloud feign 2016-07-06 10:30:09 +02:00
wing328
3a3461f961 Merge pull request #3299 from wing328/android_volley_license
[Android][Volley] add Apache v2 license to Android Volley API client
2016-07-06 11:27:58 +08:00
wing328
c1d835dcfc Merge pull request #3287 from lrimkus/patch-1
Python vnd content-type header support
2016-07-06 11:27:20 +08:00
Jim Schubert
ae73bb7553 [aspnet5] Update to ASP.NET Core 1.0.0
This migrates the server generator for aspnet5 from 1.0.0-rc1-final to
1.0.0.

Changes are fairly significant in how Kestrel hosts the application, as
well as how Swagger finds XML comments for documentation. Changes are
only related to hosting, docker, and configuration.
2016-07-05 22:17:14 -04:00
jencodingatwork
c3a9d6c9c3 Modified JavaJaxrs resources to fix duplicated variable names. See issue
#3300 for full description.
2016-07-05 12:36:08 -04:00
laurynas
560f50ab9a case insensitive search for "json" in content-type headers 2016-07-05 11:31:18 -04:00
wing328
6b4b2025ee add license to android volley 2016-07-05 22:39:38 +08:00
wing328
b699fe57fc add license header to java default client 2016-07-05 22:16:53 +08:00
lunat
43d1c5bffc CSharp client header problem
CSharp client may cause an error adding an header because the header
list is static.
Added a check and a function tu set up the ApiKey
2016-07-05 14:42:43 +02:00
wing328
430f49aae6 fix javadoc error 2016-07-05 20:38:04 +08:00
wing328
5e6a6de351 fix javadoc error 2016-07-05 19:38:33 +08:00
wing328
dfc05f4bba fix doc warning in java retrofit2 client 2016-07-05 17:49:50 +08:00
Laurynas
23b81324d1 Python vnd content-type header support
Adding vendor header support like : "Content-Type: application/vnd.api+json" and "Content-Type: application/vnd.api+json; version=1"
2016-07-04 15:27:54 -04:00
Laurynas
df695ee2c4 Python vnd content-type header support
Adding vendor header support like : "Content-Type: application/vnd.api+json" and "Content-Type: application/vnd.api+json; version=1"
2016-07-04 15:22:54 -04:00
christian
0ada53435c #3284: Made modelNamePrefix and -Suffix available through maven 2016-07-04 19:51:38 +02:00
wing328
785d1a5648 add option to set ssl host setting in ruby client 2016-07-04 22:13:25 +08:00
wing328
7de7c6de43 Merge pull request #3282 from wing328/objc_fix_typo
[ObjC] fix typo in readme doc
2016-07-03 22:16:31 +08:00
wing328
e98928a0a5 Merge pull request #3186 from ant3/JSR310-Clients
[Java] Add support for JSR310 in Jersey Clients (v3)
2016-07-03 21:56:13 +08:00
wing328
3f6f4bfd86 fix objc readme doc 2016-07-03 21:49:33 +08:00
wing328
82ee6bbb48 Merge pull request #3278 from wing328/escape_unsafe_2
Better handling of multi-line comments for all generators
2016-07-03 00:20:39 +08:00
wing328
8a3c2e754b fix python flask to handle comment block 2016-07-02 17:14:13 +08:00
wing328
e2e0af1e6c Merge branch 'master' of https://github.com/arturdzm/swagger-codegen into arturdzm-master
Conflicts:
	README.md
2016-07-02 17:00:21 +08:00
wing328
2464633368 better handling of multiline comments for all lang 2016-07-02 16:25:55 +08:00
zhenjun115
4a71a4c290 add more tips about npe; 2016-07-02 16:16:50 +08:00
zhenjun115
0117cbb29a update the dependencies for Java Feign API clients to the latest versions; 2016-07-02 12:14:31 +08:00
wing328
3c9b172996 Merge pull request #3274 from wing328/fix_lumne
Remove security test from petstore-with-fake-endpoints-models-for-testing
2016-07-02 11:48:45 +08:00
wing328
393b44dcd2 remove security test from petstore-with-fake-endpoints-models-for-testing 2016-07-02 11:32:25 +08:00
wing328
691957875e Merge pull request #3185 from cbornet/common_jersey
[Jax-rs][jersey] Mutualize jersey 1 and jersey 2 templates
2016-07-02 11:19:40 +08:00
Jason Gavris
693c73171e [Swift] Use ISO-8601 date format
- Also fix up Enum parameter generation for formParams by extracting _param partial
2016-07-01 09:55:32 -04:00
wing328
f18f81cce9 Merge branch 'fix_resteasy_gradle_definition' of https://github.com/chameleon82/swagger-codegen into chameleon82-fix_resteasy_gradle_definition 2016-07-01 19:54:43 +08:00
wing328
f8bf4387c3 Merge pull request #3252 from alexralko/master
add getHasExamples() method to support {{hasExamples}} tag in templates
2016-07-01 17:43:07 +08:00
wing328
33b4afc098 Merge pull request #3267 from wing328/swift_npe
[Swift] fix NPE for swift API client due to array of enum
2016-07-01 17:37:48 +08:00
wing328
8c754d234d fix npe for swift due to array of enum 2016-07-01 16:58:18 +08:00
wing328
a18fb4ec8b Merge pull request #3236 from cliffano/master
Disable path HTML-escaping in Ruby api template
2016-07-01 14:45:01 +08:00
wing328
021f554a6b Merge pull request #3260 from gokl/format-field
Issue 3257: Add format field to CodegenParameter and CodegenProperty.…
2016-07-01 14:05:06 +08:00
Cliffano Subagio
6de6e93bab Move generated ruby client test to java.io.swagger.codegen.ruby package. 2016-07-01 14:41:37 +10:00
gokl
1598fb2657 Issue 3257: Add format field to CodegenParameter and CodegenProperty. Add format to static html template. 2016-06-30 12:10:10 +02:00
wing328
45f13b28a0 Merge pull request #3258 from wing328/ruby_fix_test_case
[Ruby] minor update to ruby test cases
2016-06-30 16:48:35 +08:00
wing328
be4f4eb022 Merge pull request #3248 from cbornet/retrofit2_interceptor_issue
Use okttp builder instead of instance in retrofit2
2016-06-30 16:45:17 +08:00
wing328
7c5b583751 Merge pull request #3256 from arnested/php-expose-path-to-callapi
[PHP] Add path without expanded path parameters to callApi
2016-06-30 16:37:09 +08:00
wing328
4a3d9358ee Merge pull request #3165 from abcsun/lumen
[PHP Lumen] sort the endpoints in ascending to avoid the route priority issure
2016-06-30 15:51:32 +08:00
wing328
c2f0397d5c minor fix to ruby test cases 2016-06-30 15:40:35 +08:00
Arne Jørgensen
7d6ac31619 [PHP] Add path without expanded path parameters to callApi
In continuation of #3117 it could be useful to know the path of an
endpoint (without path parameters expanded) in the `callApi` method of
`ApiClient`.

This is for use cases where you would create a derived class from
`ApiClient` for manipulating responses from the server before further
processing (#3117) or add extended logging of the API calls.
2016-06-30 07:12:28 +02:00
Cliffano Subagio
8bacbfb691 Only use Content-Disposition's filename as prefix when it exists. 2016-06-30 09:42:25 +10:00
delenius
8a8e9432e1 Generate type annotations in JS model constructors
Fixes #3207
2016-06-29 13:53:33 -07:00
wing328
40e497088a Merge pull request #3251 from wing328/fix_slim_path
[PHP][Slim] fix slim path in Windows
2016-06-30 00:55:14 +08:00
wing328
9ee10e2397 Merge pull request #3249 from wing328/csharp_security_fix
[C#] better code injection handling for C# API client
2016-06-29 23:59:24 +08:00
Alex Ralko
a862601482 add getHasExamples() method to support {{hasExamples}} tag in templates 2016-06-29 18:56:45 +03:00
wing328
cb53ea114a Merge pull request #3246 from wing328/security_fix_javascript_closure
[Javascript][Closure] better code injection handling for Javascript (closure)API client
2016-06-29 23:25:04 +08:00
wing328
de6b3cea70 fix slim windows path 2016-06-29 23:24:27 +08:00
cbornet
f54b505704 use okttp builder instead of instance in retrofit2
Fix #3188
2016-06-29 17:07:39 +02:00
wing328
7951c06f55 unescape basepath in aspnet 2016-06-29 22:54:16 +08:00
wing328
d79274d548 better code injection handling for c# 2016-06-29 22:52:12 +08:00
wing328
f89333c8c3 better code injection handling for javascript closure client 2016-06-29 22:07:14 +08:00
wing328
73e6626e15 comment out array of enum test case, fix JS enum partial template 2016-06-29 21:40:22 +08:00
wing328
aec2f4e27c better code injection handling for js 2016-06-29 21:18:35 +08:00
wing328
aaf7b99220 comment out test case for map of map of enum as many lang don't support 2016-06-29 17:46:45 +08:00
wing328
fd72409e3b better default value for enum variable declaration 2016-06-29 17:30:33 +08:00
wing328
f88b941d96 fix java okhttp sample 2016-06-29 11:49:40 +08:00
Cliffano Subagio
b6eb81cbef Move path unescaping from DefaultGenerator to Ruby api template. 2016-06-29 09:46:41 +10:00
wing328
77c4164b3c better code injection handling for java 2016-06-29 02:00:43 +08:00
cbornet
ac23b10f7a remove dead code 2016-06-28 18:06:33 +02:00
cbornet
8d8858cc51 mutualize jackson and gson models in java clients
See #2182
2016-06-28 18:00:34 +02:00
Cliffano Subagio
344e1b12e4 Disable template data HTML-escaping on generated code files. 2016-06-29 01:57:08 +10:00
wing328
07a852fe78 Merge pull request #3231 from wing328/security_fix_ruby
[Ruby] better code injection handling for Ruby API client
2016-06-28 20:09:55 +08:00
wing328
37e1de6d72 Merge pull request #3230 from wing328/security_fix_python
[Python] better code injection handling for Python
2016-06-28 20:09:40 +08:00
wing328
9e216c0ca2 better code injection handling for ruby 2016-06-28 17:36:00 +08:00
wing328
3a41da42f0 better code injection handling for python 2016-06-28 17:07:50 +08:00
wing328
02864ed31a better code injectino handling for perl client 2016-06-28 16:37:33 +08:00
wing328
8dc22d2bda Merge pull request #3228 from cliffano/master
[Ruby] Add params_encoding configuration to be passed to api_client's request options
2016-06-28 15:31:33 +08:00
wing328
a71c072609 Merge pull request #3224 from wing328/security_fix
[PHP] Better code injection handling for PHP API client
2016-06-28 15:19:41 +08:00
wing328
41636ae149 revert petstore-with-fake-endpoints-models-for-testing.yaml 2016-06-28 14:38:50 +08:00
Cliffano Subagio
af77d94750 [Ruby] Add params_encoding configuration to be passed to api_client's request options. 2016-06-28 15:22:34 +10:00
wing328
174222390a Merge pull request #3190 from thebignet/asyncCompletableFuture
using CompletableFuture instead of Callable for asynchronous controller in Spring Boot
2016-06-28 12:34:23 +08:00
wing328
ec2abe78e3 apply security fix to php lumne, silex, slim 2016-06-28 12:21:41 +08:00
wing328
f38c8373cc create new spec for security testing 2016-06-28 11:48:52 +08:00
wing328
ebd6ffaa4c better handle of single quote to avoid code injectio in php 2016-06-28 00:54:06 +08:00
wing328
1638adb79e avoid code injection in php api client 2016-06-27 21:51:27 +08:00
wing328
f482132c66 Merge branch 'master' of https://github.com/sdavis-r7/swagger-codegen into sdavis-r7-master
Conflicts:
	modules/swagger-codegen/src/main/resources/php/model.mustache
	modules/swagger-codegen/src/main/resources/php/model_generic.mustache
2016-06-27 16:20:44 +08:00
wing328
e26416b351 Merge pull request #3073 from bitcloud/fix-datetime-example
fix date format in example generator
2016-06-27 14:39:03 +08:00
wing328
9ec61ba887 Merge pull request #3189 from thebignet/tagName
add tags with API name to java @Api annotation
2016-06-27 13:54:06 +08:00
wing328
bee05f0086 Merge pull request #3219 from wing328/android_gradle_update
[Android][Volley] add http client dependency to android volley
2016-06-27 11:59:42 +08:00
wing328
b19527d395 Merge pull request #3158 from moanrose/Issue#3096
Changed check for required parameter to check for null or undefined
2016-06-27 11:45:46 +08:00
wing328
95eb06e2e9 add http client dependency to android volley 2016-06-27 11:25:15 +08:00
wing328
f3bb4ea872 Merge pull request #3180 from cbornet/feign_java8
|Feign] Support jsr310 dates in feign client
2016-06-27 10:47:13 +08:00
wing328
5008de5f83 Merge pull request #3181 from cbornet/retrofit2_java8
[Retrofit] Add support for jsr310 dates to retrofit2 client
2016-06-27 10:01:36 +08:00
wing328
f707675e48 Merge pull request #3217 from wing328/php_enum_class
[PHP] add enum class support, merge test cases
2016-06-27 09:53:31 +08:00
wing328
f04df9a163 fix #3215 and enum array issue in parameter check 2016-06-26 19:17:25 +08:00
wing328
74239c422b add enum class support, merged test cases for php 2016-06-26 17:41:29 +08:00
Pedro J. Molina
961cbb531e nodejs-server: Added npm start scripts on package.json + update README 2016-06-24 09:13:25 +02:00
wing328
5095fe1018 Merge pull request #3199 from wing328/better_param_enum
[C#] Add array and map of enum support for C#
2016-06-23 23:49:49 +08:00
wing328
5047ab3b5c Merge pull request #3182 from cbornet/okhttp_java8
[Okhttp-gson] Add support for jsr310 dates to okhttp-gson client
2016-06-23 22:12:29 +08:00
Scott Davis
80666394f6 CVE-2016-5641 2016-06-23 06:06:21 -07:00
wing328
908243b90d fix docstring 2016-06-23 12:24:49 +08:00
wing328
c15992b420 add array and map of enum support for C# 2016-06-23 12:14:32 +08:00
Jean Detoeuf
2b22efcea9 using CompletableFuture instead of Callable for asynchronous controller 2016-06-22 09:19:21 +02:00
wing328
e0d030d33a Merge pull request #3139 from stunney/master
Issue #3138
2016-06-22 10:06:37 +08:00
Alex
0506b4ab76 Fix joda dependency in resteasy gradle file 2016-06-22 01:10:48 +06:00
Jean Detoeuf
1b71076c2d add tags with API name to java @Api annotation 2016-06-21 18:08:28 +02:00
wing328
c2f5d83d06 Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into FinderSystems-nancyfx-codegen
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/CodegenModel.java
2016-06-21 23:47:49 +08:00
wing328
f9cf78e03d Merge pull request #3133 from cbornet/spring_unite
[Spring] put spring-mvc and spring-boot under the same language gen
2016-06-21 22:51:09 +08:00
wing328
7b51522392 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-06-21 22:27:56 +08:00
wing328
321dc0d41c add test case for number (decimal) 2016-06-21 22:22:21 +08:00
cbornet
426cc6b6b4 better enums and dependency update 2016-06-21 16:19:37 +02:00
wing328
fa3aacf4aa Merge branch 'master' of https://github.com/qtstc/swagger-codegen into qtstc-master 2016-06-21 22:13:48 +08:00
wing328
0f32837383 Merge pull request #3187 from swagger-api/model_propert_same_name
[C#] Fix model with only read-only attributes and model & property using the same name
2016-06-21 21:59:36 +08:00
wing328
be3eec1e28 Merge pull request #3169 from RowanJKWalker/feature/issue-3168
Issue-3168: [csharp] Allow additional-properties to set Assembly Info #3168
2016-06-21 20:46:00 +08:00
wing328
3e30291865 fix #3184 2016-06-21 16:16:05 +08:00
cbornet
10d3716cd1 fix allowableValues test 2016-06-21 09:20:44 +02:00
ant3
8b60a1e144 Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients 2016-06-21 00:17:01 +01:00
ant3
4ef10aa5ae Upgraded dependency versions
Also switched from using JSR310Module (Deprecated) to JavaTimeModule.
2016-06-21 00:14:10 +01:00
cbornet
5a489f334e mutualize jersey 1 and 2 server templates 2016-06-20 22:59:32 +02:00
cbornet
d29a5537bc add support for jsr310 dates to okhttp-gson client 2016-06-20 16:50:08 +02:00
wing328
d7ac136503 Merge pull request #3179 from areiter/dart-missing-dartson-property
Dart - Java compatibility
2016-06-20 22:46:43 +08:00
cbornet
027ff93ae4 rename and remove dead code 2016-06-20 15:16:13 +02:00
cbornet
1062fa467e fix issues 2016-06-20 15:13:17 +02:00
cbornet
ec6a9257e2 put spring-mvc and spring-boot under the same language gen 2016-06-20 15:12:03 +02:00
cbornet
48564079be add support for jsr310 dates to retrofit2 client
See #2874
2016-06-20 14:32:18 +02:00
Rowan Walker
6ca58cfaa4 Issue-3168: Adding a DESC for each of the new CodegenConstants introduced. 2016-06-20 23:12:05 +12:00
cbornet
3e9064b81e support jsr310 dates in feign client
See #2874
2016-06-20 13:04:44 +02:00
Andreas Reiter
dee8a7b924 Add dartson-@Property to enable out of the box compatibility with code generated for e.g. Java 2016-06-20 11:16:51 +02:00
cbornet
6c5def6936 fix missing java client library files 2016-06-20 10:32:02 +02:00
cbornet
d4c961798e fix tests 2016-06-20 10:32:01 +02:00
cbornet
7aac639aad refactor java codegen classes 2016-06-20 10:31:58 +02:00
wing328
8283b701e8 fix java property with the name "class" 2016-06-20 14:51:17 +08:00
wing328
d67e4d73cc Merge branch 'zhenjun115-new_python_with_http_info' 2016-06-20 13:12:35 +08:00
tao
90d61578d0 remove reformat 2016-06-19 21:39:06 -07:00
tao
6ac27fcafc revert changes to imports 2016-06-19 21:36:08 -07:00
tao
4e45ef954d better tests 2016-06-19 21:29:14 -07:00
tao
a4eca5b05c add import for types used by inner CodegenProperties 2016-06-19 21:19:21 -07:00
tao
bf9d015fc7 failing test 2016-06-19 20:58:47 -07:00
wing328
88ce868bd5 Merge branch 'new_python_with_http_info' of https://github.com/zhenjun115/swagger-codegen into zhenjun115-new_python_with_http_info
Conflicts:
	modules/swagger-codegen/src/main/resources/python/api.mustache
	samples/client/petstore/python/swagger_client/__init__.py
	samples/client/petstore/python/swagger_client/api_client.py
	samples/client/petstore/python/swagger_client/apis/pet_api.py
	samples/client/petstore/python/swagger_client/apis/store_api.py
	samples/client/petstore/python/swagger_client/apis/user_api.py
	samples/client/petstore/python/swagger_client/models/__init__.py
	samples/client/petstore/python/swagger_client/models/name.py
2016-06-20 11:58:35 +08:00
ant3
7e867dc8ff Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients 2016-06-19 22:40:27 +01:00
ant3
5e3a877033 Reformatted templating tags
Turns out I didn't need to compact newlines so I have reverted to a more
readable format for the templates.
2016-06-19 22:39:00 +01:00
ant3
cf42b4166f Fixed name of JSR310 module
Silly error, which resulted in code that didn't compile :-(.
2016-06-19 21:10:59 +01:00
wing328
b8c0569feb Merge pull request #3172 from wing328/ts_gitignore
[Typescript] add .gitignore and license header
2016-06-19 23:14:18 +08:00
wing328
fdff69de31 Merge pull request #3113 from taf2/patch-1
it's the future
2016-06-19 17:24:44 +08:00
Rowan Walker
3606870f4b Issue-3168
[csharp] Enabling Assembly Info to be set by the following command line's additional-properties:
- packageTitle
- packageProductName
- packageDescription
- packageCompany
- packageCopyright
2016-06-19 16:21:51 +12:00
wing328
409d5dabca add license header to typescript API client 2016-06-19 12:03:50 +08:00
wing328
41a615e4eb add gitignore to TS API client 2016-06-19 11:45:51 +08:00
wing328
2b7288d525 add license to cpprest files 2016-06-18 18:09:19 +08:00
wing328
77d0e121bf Merge pull request #3065 from ant3/JSR310-Clients
[Java] Add support for JSR310 in Jersey2 Clients
2016-06-18 17:36:58 +08:00
abcsun
cff573f3dd modify the file path with File.separatorChar base on os 2016-06-18 17:24:06 +08:00
wing328
cc5668c825 Merge pull request #3108 from JasonQuinn/master
Adding the ability to get and set the httpClient for jersey2
2016-06-18 16:56:01 +08:00
wing328
4aa9f1b5fa add license header to scala files 2016-06-18 15:21:55 +08:00
wing328
517a189712 Merge pull request #3149 from jimschubert/scala_client_refactor
[scala] Add SBT buid support for scala client
2016-06-18 15:10:04 +08:00
wing328
fe06fe30e0 Merge pull request #3156 from ferristseng/master
Fix result not defined error in javascript ApiClient
2016-06-18 14:53:29 +08:00
abcsun
3cb178cd14 sort the endpoints in ascending to avoid the route priority issure 2016-06-18 10:16:46 +08:00
ant3
c1a5839d44 Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients 2016-06-17 21:25:35 +01:00
Ferris Tseng
3852736b40 fix result not defined error in js client 2016-06-17 10:47:48 -04:00
Jakub Malek
6404d47f97 NancyFx:
- Fixed typo
2016-06-17 15:35:04 +02:00
Jakub Malek
82d290eeae Merge with upstream 2016-06-17 15:22:17 +02:00
moanrose
a9bd4f2b42 Changed check for required parameter to check for null or undefined 2016-06-17 13:10:45 +02:00
wing328
1bdaba5cdc Merge pull request #3127 from abcsun/lumen
[PHP Lumen] 	add parameters validation and the Apache license
2016-06-17 18:58:57 +08:00
Jakub Malek
38298c3709 NancyFx:
- Sharpility version update
2016-06-17 09:35:53 +02:00
wing328
36264f3801 Merge pull request #3152 from salemXpresso/master
Fix Java CXF on parameter names containing '_' or '-'
2016-06-17 12:44:18 +08:00
wing328
8eff9188fb Merge pull request #3153 from wing328/qtcpp_license
[Qt5 C++] Add apache2 license to qt5cpp files
2016-06-17 12:20:09 +08:00
abcsun
0effbae24b add lumen api.mustache to generate controller & license update & resource dir restructure 2016-06-17 11:37:10 +08:00
wing328
c231474c4b Merge pull request #3154 from wing328/python_travis_ci
[Python] add travis.yml to python api client
2016-06-17 09:23:42 +08:00
Jim Schubert
ee630337b9 [scala] Add SBT buid support for scala client 2016-06-16 20:43:58 -04:00
wing328
f9eef2c825 add travis.yml for python api client 2016-06-17 00:41:40 +08:00
wing328
6bdee2adb5 add apache2 license to qt5cpp 2016-06-17 00:04:05 +08:00
Remi Salembier
799b27b249 Fix Java CXF on parameter names containing '_' or '-' 2016-06-16 16:18:01 +02:00
wing328
77d1d97da5 Merge pull request #3015 from cbornet/java_instant
Use OffsetDateTime instead of LocalDateTime
2016-06-16 17:48:22 +08:00
wing328
dd379461e2 Merge pull request #3124 from mateuszmackowiak/objc/core_data_support_for_array_model
[Objc] - CoreData support for ArrayModels
2016-06-16 17:24:08 +08:00
wing328
b5f22ff5c8 Merge pull request #3109 from philicious/qt5-cpp-helpers-fix
Fixed several issues with Qt5 generator and Qt5 PetStore tests
2016-06-16 16:54:45 +08:00
wing328
2107758100 add swift-petstore-all.sh and partial_license for perl 2016-06-16 16:42:17 +08:00
wing328
6a68965308 Merge pull request #3131 from mateuszmackowiak/android/volley/post_null_body_fix_proper
[Android][Volley] fix support for post null body
2016-06-16 16:04:55 +08:00
wing328
e501287036 Merge pull request #3130 from taxpon/issue-3129-handle-204
Handle 204 response correctly in typescirpt-angualr2
2016-06-16 15:30:10 +08:00
Maneesh Sahu-SSI
6c350a7d2d Added long to primitive data types supported in Python codegen 2016-06-15 13:43:36 -07:00
stunney
0980261709 Merge remote-tracking branch 'refs/remotes/swagger-api/master' 2016-06-15 10:02:41 -04:00
wing328
89435850a6 Merge pull request #2979 from guohuang/go_server
issue#2970, [Go] add go server codegen template
2016-06-15 15:18:28 +08:00
wing328
e875ac6976 Merge pull request #3128 from wing328/cpprest_generator
[C++] add cpprest generator
2016-06-15 11:32:34 +08:00
wing328
d56eed898d replace tab with 4-space 2016-06-15 10:50:06 +08:00
wing328
0b63206496 add windows batch file for cpprest-petstore 2016-06-15 10:41:35 +08:00
stunney
d21aa1f3a3 Issue #3138
https://github.com/swagger-api/swagger-codegen/issues/3138

Adds " virtual" to the controller moustache file so that the controllers
can be inheritted from.
2016-06-14 17:01:18 -04:00
wing328
8085e11063 add license header to JS cient, update sample 2016-06-15 01:18:04 +08:00
wing328
9f3b8bab2b add travis.yml for JS api client 2016-06-15 00:03:11 +08:00
wing328
4c277631e4 add auto-generated test cases for js api client 2016-06-14 23:50:38 +08:00
Jason Quinn
ed83ad3afd Removing gradle dependency for jersey2 pom 2016-06-14 15:01:23 +01:00
Mateusz Mackowiak
ac7a7503b4 [Android][Volley] fix support for requests null body 2016-06-14 16:00:40 +02:00
Jason Quinn
24b7f5c902 Adding the ability to get/set the httpClient for jersey2 2016-06-14 15:00:40 +01:00
Mateusz Mackowiak
54afae57c8 [Android][Volley] fix support for post null body 2016-06-14 15:49:41 +02:00
Takuro Wada
723f65b940 Fix typo in .swagger-codegen-ignore 2016-06-14 21:50:06 +09:00
Takuro Wada
2843c44401 Handle 204 response correctly in typescirpt-angualr2 2016-06-14 21:31:25 +09:00
wing328
ecd80a3d70 add cpprest and samples 2016-06-14 16:33:50 +08:00
philicious
9825dfc735 fixed Qt5 api-body template bug with form params 2016-06-14 00:13:12 +02:00
philicious
8fab73fff6 added missing systemIncludes for QMap, QDateTime, QDate 2016-06-13 23:52:13 +02:00
Arne Jørgensen
f5f4adac29 [PHP] Handle empty array response correct 2016-06-13 23:22:04 +02:00
wing328
871d5ddc5d Merge pull request #3112 from cbornet/springboot_j8async
Add java8 and async options to Spring-Boot codegen
2016-06-14 01:02:52 +08:00
wing328
45c32fd57b Merge pull request #3122 from clasnake/add_license_scalatra
Add Apache v2 license to auto-generated scalatra files.
2016-06-14 00:55:40 +08:00
Mateusz Mackowiak
102226666f [Objc] - CoreData support for ArrayModels
- Support for uuid and password types
2016-06-13 18:31:19 +02:00
wing328
eb42f99bb5 Merge pull request #3056 from mateuszmackowiak/objc/core_data_unique-id-key
[Objc] Support for x-unique-id-key vendorExtensions
2016-06-13 23:47:31 +08:00
clasnake
ce456fafdc Add Apache v2 license to auto-generated scalatra files. 2016-06-13 22:55:18 +08:00
abcsun
ee024c40fb add apache license to lumen 2016-06-13 17:37:19 +08:00
wing328
3295b24cc2 add travis.yml for java client 2016-06-13 17:06:49 +08:00
abcsun
bffb0fb4d8 sync from origin master 2016-06-13 10:25:03 +08:00
Guo Huang
e39aa3ed3c fix merge conflict 2016-06-12 14:15:55 -07:00
ant3
fecaf0673a Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients 2016-06-12 19:18:07 +01:00
ant3
56c6e081d5 Fixed Java 8 time in Jersey 1 Client
Made the Jersey 1 client work with java 8 time classes.  Also tightened
up newlines in templates.
2016-06-12 19:15:38 +01:00
wing328
16d89a47b7 add travis file for C# client 2016-06-12 16:45:49 +08:00
wing328
bca3d24d20 fix test cases, fix warning in exceptionfactory, update
.swagger-codegen-ignore for c# to keep logo file (for upload test)
2016-06-12 12:41:35 +08:00
wing328
6ddf34ce8a update nunit to 3.2.1 2016-06-12 01:56:31 +08:00
wing328
4b6d372bff update C# json to 8.0.3 2016-06-12 00:39:56 +08:00
wing328
bc04ebed94 add mono script to nunit test csharp client 2016-06-11 23:44:48 +08:00
wing328
cdc29d0dde Merge pull request #3034 from taxpon/issue-3029-python-constructor
Update python constrouctor to provide arguments for instance initialization
2016-06-11 10:27:26 +08:00
Todd
cbfe23589c it's the future
html5 is all the rage
2016-06-10 15:09:29 -04:00
cbornet
c2dbe44d08 add java8 and async options to springboot codegen 2016-06-10 18:21:19 +02:00
wing328
851f2ef688 Merge pull request #3107 from cbornet/default_joda
Set joda as default dateLibrary for java codegens that support it
2016-06-10 23:17:38 +08:00
wing328
7de95c52c1 add apache 2.0 license to perl api client 2016-06-10 22:43:56 +08:00
wing328
5ea2e2f1a2 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-06-10 21:59:17 +08:00
wing328
e7160ca78a Merge branch 'rails5-models' of https://github.com/zlx/swagger-codegen into zlx-rails5-models 2016-06-10 21:56:22 +08:00
Mateusz Mackowiak
5a6daeed8f [Objc] Moved x-is-unique: true to petstore-with-fake-endpoints-models-for-testing 2016-06-10 14:17:52 +02:00
Jim Schubert
196930cf49 [csharp] Include ExceptionFactory property on IApiAccessor interface 2016-06-10 08:10:12 -04:00
philicious
1b7973404d added missing data-type handlers for QDate and QDateTime in Qt5/CPP helpers 2016-06-10 13:06:53 +02:00
cbornet
0f3569e982 set joda as default dateLibrary for java codegens that support it
Fix #3087
2016-06-10 12:17:36 +02:00
wing328
ad77062b11 Merge branch 'joda_springboot' of https://github.com/cbornet/swagger-codegen into cbornet-joda_springboot 2016-06-10 16:39:58 +08:00
wing328
c143937959 Merge pull request #2986 from jimschubert/cs/exception_factory
[csharp] Intercept hooks for req/res and ExceptionFactory
2016-06-10 16:37:51 +08:00
wing328
ff28988a67 Merge branch 'joda_retrofit_1' of https://github.com/cbornet/swagger-codegen into cbornet-joda_retrofit_1 2016-06-10 16:32:23 +08:00
wing328
216d4b8b23 Merge pull request #3083 from cbornet/joda_retrofit
Add joda support to retrofit2 clients and use it in samples
2016-06-10 15:18:00 +08:00
cbornet
d8eb708e23 add joda support to spring-boot and use it in sample 2016-06-09 22:09:47 +02:00
cbornet
2fe9cd2ba0 add joda support to retrofit 1 clients 2016-06-09 18:41:44 +02:00
cbornet
61884211bb add joda support to okhttp-gson and use it in the samples 2016-06-09 18:20:52 +02:00
wing328
bd705a49d6 Merge pull request #3094 from karussell/patch-3
[Java] client: make all okhttp classes explicit to avoid conflict
2016-06-09 21:21:51 +08:00
Jakub Malek
33149c3a63 NancyFx:
- Missing namespace import
2016-06-09 13:27:01 +02:00
Jakub Malek
b604b1b80f NancyFx:
- Fixed error message for unsupported enum value
- Fixed error message for Format and Overflow exceptions
- Added support for ZonedDateTime and LocalTime in Parameters utility
2016-06-09 13:21:59 +02:00
Marcin Stefaniuk
e823c12dc0 Rename inheritance property. 2016-06-09 13:04:31 +02:00
Marcin Stefaniuk
e52f991d72 Adding NodaTime types as primitives to keep them nullable. 2016-06-09 12:58:58 +02:00
Newell Zhu
b27022749f Add debug support for rails5 2016-06-09 18:43:31 +08:00
Newell Zhu
f3e368c723 Add model & migrate support 2016-06-09 18:40:01 +08:00
wing328
4ee483dcc0 fix okhttp pom to remove dependency on gradle, sbt test 2016-06-09 18:23:19 +08:00
Peter
1ff18c4ac6 make all okhttp classes explicit to avoid conflict 2016-06-09 11:31:15 +02:00
wing328
bc42d941ec Merge branch 'patch-1' of https://github.com/karussell/swagger-codegen into karussell-patch-1
Conflicts:
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/ApiException.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Configuration.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/Pair.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/ApiKeyAuth.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/auth/OAuth.java
2016-06-09 17:06:50 +08:00
wing328
0a3a47dbd4 add license to java okhttp client 2016-06-09 16:20:57 +08:00
wing328
2d170fd7a6 add license to 2016-06-09 16:07:36 +08:00
Takuro Wada
2ea37202a9 Omit @property.setter for readonly property 2016-06-09 08:00:42 +09:00
Takuro Wada
2c939b03b4 Apply readWriteVars to constructor in python/model.mustach 2016-06-09 07:57:52 +09:00
Takuro Wada
03f5619beb Update python constructor to provide arguments for instance initialization ( #3029 ) 2016-06-09 07:56:26 +09:00
Peter
6df4ffab13 use explicit Response class from okhttp fixing #3071 2016-06-08 22:37:41 +02:00
wing328
3165e1c39d Merge pull request #3039 from cbornet/spring_interface
[Spring] Add an option to only generate stubs of the API and no server files
2016-06-09 01:38:17 +08:00
wing328
c11908824e Merge pull request #3075 from cbornet/feign_joda
[Feign] Support joda dates in feign client and use it in petstore sample
2016-06-09 01:28:10 +08:00
cbornet
acf17c85ad add joda support to retrofit clients and use it in samples
also adds back the petstore tests
2016-06-08 18:50:49 +02:00
wing328
691aa53d5a [Java][okhttp-gson] fix java doc for okhttp-gson (#3077)
* fix java doc for okhttp-gson

* add ci test for javadoc

* fix return type for java doc

* fix warning/error with javadoc

* fix error/warning in javadoc

* fix 2 warnings related to docstring

* remove trailing space for okhttp tmeplate
2016-06-09 00:47:49 +08:00
Artur Dzmitryieu
0a9b888e7f Update language description 2016-06-08 10:56:53 -04:00
cbornet
23278bb51d fix test 2016-06-08 11:38:44 +02:00
cbornet
b4d521ca7b add a java8-localdatetime dateLibrary option for leagacy app backward compatibility 2016-06-08 11:07:13 +02:00
cbornet
5fd948f234 use OffsetDateTime instead of LocalDateTime
Fix #2138
2016-06-08 10:18:49 +02:00
Takuro Wada
7916f5243d [Python] Fix bug of test files about packageName 2016-06-08 09:24:12 +09:00
cbornet
3ae39c9562 support joda in feign and use it in sample 2016-06-07 22:39:34 +02:00