Commit Graph

387 Commits

Author SHA1 Message Date
cbornet
3b4465d999 add fluent methods to add items to list and put items to maps 2016-07-27 18:18:48 +02:00
wing328
30c2503f9f [C#][NancyFX] Better "Add" for Dictionary and using {{packageName}} for NancyFX (#3449)
* use square bucket for C# dictionary

* use packageName for nancyfx generator, update info to debug for log

* use packageName for nancyfx generator, update info to debug for log
2016-07-26 14:10:48 +08:00
Christian Loitsch
bf17a91275 dart codegen improvements (#3440)
* fix: query params may be ints as well

don't assume query params are Strings or List<String>s

* fix dart: use correct type for QueryParams

type is Iterable, not List

only check params for != null if they haven't been checked already

add some casts to make strong mode happy

update petstore

* feat dart: enable strong mode

* feat dart: generate both browser and vm library

move petstore client into subdirectory and reference
generated libraries using path in pubspec.yaml

* feat dart: refactor petstore test.

The new layout resembles a real project.

petstore test is now strong mode compatible.

* feat: add DateTimerParser transformer

* feat: improved exception reporting

* feat[dart]: handle patch requests

* fix[dart]: typo

* fix dart: remove findPetsByTag test; enable strong-mode

find pets by tag call is deprecated and returns 500

generated library is now strong mode compatible
2016-07-23 23:45:22 +08:00
wing328
9fcb8a310d fix #3418 - slim missing contextpath 2016-07-20 15:49:41 +08:00
wing328
c873a52f84 Merge pull request #3325 from inc-cloitsch/rmCrypto_fixRequiredParams_useAsyncAwait_addMultiQueryParams
dart: fix required params.  add 'multi' query params.  better deserialization.
2016-07-13 16:13:41 +08:00
wing328
394840e352 Add more security samples (#3344)
* add line break test to petstore-security-test.yaml

* add objc/swift security testing

* add go,scala,qt5cpp for security test

* add security test for typescript

* fix go security issue, fix consumes,produces line break
2016-07-12 19:51:28 +08:00
wing328
d4951bbf3c Leverage Shipable.io to validate mustache templates (#3333)
* add run all petstore shell script

* add run all petstore batch file for windows tests

* better output for travis and appveyor

* add shippable config to test all petstore

* show log after test script

* remo all-petstore, update travis build

* update shiippable config

* add run-all-petstore

* failure test using ruby model

* use bash script for run-all-petstore

* update script permission

* fix html batch script

* fix missing doc in jaxrs spec generator

* fix missing api, model test in jaxrs spec generator

* rename licenseInfo for lumen

* remove ruby model failure (for CI test)

* fix "the input line is too long"

* update windows batch file to shorten the commands

* update appveyor config

* update shippable config

* add build script

* update batch file to remove args option

* fix window batch file for spring mvc/boot

* remove logging output to file
2016-07-11 13:54:18 +08:00
Christian Loitsch
999ef42e81 doc: explain how to run tests 2016-07-08 15:45:53 +02:00
wing328
d4f9eefa94 update java-petstore-all.sh and regenerate all java petstore sample 2016-07-07 15:53:17 +08:00
wing328
3b780e30d8 change java default lib to okhttp-gson 2016-07-07 15:53:16 +08:00
wing328
9830e82add Merge pull request #3294 from cbornet/spring_cloud
[Spring] Add a generator for spring cloud feign clients
2016-07-07 10:59:56 +08:00
wing328
b997dd15ad Merge pull request #3306 from jimschubert/aspnet5_.NET_Core_1.0
[aspnet5] update to asp.net core 1.0
2016-07-07 10:59:01 +08:00
cbornet
df7b694c4b change spring-cloud petstore artifact-id 2016-07-06 11:51:56 +02:00
cbornet
57f518fe93 change spring-mvc petstore artifact-id 2016-07-06 11:47:48 +02:00
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
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
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
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
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
wing328
c9d2bb8a96 add test for jaxrs resteasy joda 2016-07-01 21:40:34 +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
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
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
aec2f4e27c better code injection handling for js 2016-06-29 21:18:35 +08:00
wing328
77c4164b3c better code injection handling for java 2016-06-29 02:00:43 +08: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
ec2abe78e3 apply security fix to php lumne, silex, slim 2016-06-28 12:21:41 +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
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
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
ant3
8b60a1e144 Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients 2016-06-21 00:17:01 +01:00
ant3
e40ad8ce3c Added sample build for Java8 Jersey2 client 2016-06-20 23:10:01 +01:00
cbornet
d4150d9a02 remove jersey2 sample as its now the jax-rs default 2016-06-20 23:48:42 +02: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
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
cbornet
3e9064b81e support jsr310 dates in feign client
See #2874
2016-06-20 13:04:44 +02:00
wing328
6fd1912b92 Merge pull request #3151 from mateuszmackowiak/objc/core_data
[Objc] Moved default petstore demo sample to default folder and created a new with core data sample
2016-06-20 14:02:34 +08:00
wing328
409d5dabca add license header to typescript API client 2016-06-19 12:03:50 +08:00
Jakub Malek
82d290eeae Merge with upstream 2016-06-17 15:22:17 +02:00