Commit Graph

6893 Commits

Author SHA1 Message Date
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
a4ec29000a [PHP] Regenerate petstore samples 2016-06-30 07:12:28 +02: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
wing328
75bd838d23 Merge pull request #3254 from delenius/jsdoc-paramtypes2
Generate type annotations in JS model constructors
2016-06-30 11:33:54 +08:00
wing328
9873953bdf Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-06-30 11:26:23 +08:00
wing328
183af97748 Merge branch 'chadrosen-update-ruby-sample' 2016-06-30 11:20:50 +08:00
wing328
3b022496cd Merge branch 'update-ruby-sample' of https://github.com/chadrosen/swagger-codegen into chadrosen-update-ruby-sample
Conflicts:
	samples/client/petstore/ruby/README.md
	samples/client/petstore/ruby/docs/ArrayTest.md
	samples/client/petstore/ruby/lib/petstore/models/array_test.rb
2016-06-30 11:20:28 +08:00
Cliffano Subagio
8bacbfb691 Only use Content-Disposition's filename as prefix when it exists. 2016-06-30 09:42:25 +10:00
Arne Jørgensen
52952e4ace Add pom.xml for executing PHP Swagger Petstore Security Client tests
Following #3224 this adds a `pom.xml` for executing `mvn
integration-test` on the PHP Swagger Petstore Security Client tests.

The `pom.xml` is identical to the one in
`samples/client/petstore/php/SwaggerClient-php/pom.xml` with only name
and artifactId changed.
2016-06-29 22:56:27 +02:00
delenius
8a8e9432e1 Generate type annotations in JS model constructors
Fixes #3207
2016-06-29 13:53:33 -07:00
Chad Rosen
4a4151a751 update ruby samples by running the bin/ruby-petstore.sh 2016-06-29 13:19:37 -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
90857e8988 Merge pull request #3245 from wing328/security_fix_javascript
[Javascript] better code injection handling for Javascript API client
2016-06-29 22:30:03 +08:00
wing328
8e43f7c2f6 add new JS files 2016-06-29 22:09:27 +08:00
wing328
f89333c8c3 better code injection handling for javascript closure client 2016-06-29 22:07:14 +08:00
wing328
1e596654cd remove node_modeuls under petstore security test for js 2016-06-29 21:47:41 +08:00
wing328
73f88f0bff update js promise petstore client 2016-06-29 21:44:13 +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
acc28495e8 Merge pull request #3244 from wing328/java_fix_2d_array_enum
[Java] better default value for variable declaration (with inner enum type)
2016-06-29 19:39:01 +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
c5724a46d6 Merge pull request #3237 from wing328/java-security-fix
[Java] Better code injection handling for Java-related generators
2016-06-29 15:25:10 +08:00
wing328
cbaa577c64 add more info about vendor extensions 2016-06-29 14:32:23 +08:00
wing328
926e017402 add more info about updating petstore sample 2016-06-29 14:30:29 +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
wing328
48bdae8fe7 Merge pull request #3235 from cbornet/common_java_models
Mutualize jackson and gson models in java clients
2016-06-29 00:59:38 +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
f1f01041ed update ruby sample 2016-06-28 17:36:58 +08:00
wing328
9e216c0ca2 better code injection handling for ruby 2016-06-28 17:36:00 +08:00
wing328
56b2b4f2eb Merge pull request #3229 from wing328/security_fix_perl
[Perl] better code injection handling for perl client
2016-06-28 17:35:29 +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