wing328
0682e41d6d
update spring petstore sample
2017-04-13 17:44:38 +08:00
Benjamin Douglas
ab69ce5dc3
Add null pointer check to add/put methods ( #5385 ) ( #5386 )
...
Commit e3d04ee01 (issue #5240 ) introduced unsafe add/put methods for optional
list/map parameters. This change maintains the spirit of issue #5240 (optional
containers are null by default) while still making add/put calls safe. It does
this by checking for null first and, if so, initializing it with an empty
container.
Also updated the affected samples using the various scripts in bin/.
2017-04-13 17:37:49 +08:00
nikitozz
78c4928908
Fixes #5367 . Async support is enabled for .NET netstandard API clients ( #5368 )
2017-04-12 10:39:42 +08:00
wing328
1fdd3e6ffa
[Java][Spring] fix enum allowable values in Spring generators ( #5364 )
...
* fix enum allowable values in spring generators
* use values instead of enumVars in spring annoation
2017-04-11 22:23:09 +08:00
wing328
e3d04ee01f
[Java] remove initialization for optional list property ( #5363 )
...
* set list to null in java if not required
* update petstore sample for java server stub
* update sample for msf4j
* add null assignment to new list/map in java
2017-04-11 19:07:48 +08:00
wing328
d3ac4b686a
fix CI issue by declaring originalEnvironmentVariables as a protected
...
member
2017-04-11 00:57:22 +08:00
Vincent Giersch
aef98f464e
fix(php): should not check enum value if not unspecified and optional (broken since #4886 ) ( #5357 )
...
Signed-off-by: Vincent Giersch <vincent@giersch.fr >
2017-04-10 23:21:14 +08:00
Ahmet Taha Sakar
c6959b0d21
Swift3 headers ( #5340 )
...
* added headers to makeRequest function for swift3 template
* petstore update
2017-04-10 22:36:22 +08:00
lukoyanov
a7652d508d
Updated CallAdapter & CallAdapterFactory for retrofit 2.2.0 ( #5345 )
2017-04-07 07:35:47 +08:00
Paŭlo Ebermann
0c1ad9b2ba
Update security samples for Scala + typescript-node. ( #5325 )
2017-04-05 18:05:21 +08:00
Paŭlo Ebermann
be83329946
Update security samples for swift. ( #5324 )
2017-04-05 18:04:53 +08:00
wing328
22c80588f6
fix retrofit2 rxjava2 script ( #5321 )
2017-04-04 22:58:03 +08:00
Paŭlo Ebermann
8bd67c9f7f
Fix template directory used by samples script. ( #5284 )
2017-04-04 14:47:22 +08:00
Paŭlo Ebermann
41b04e0e01
Update security samples for typescript-clients (Angular1/2). ( #5288 )
2017-04-04 14:44:25 +08:00
Paŭlo Ebermann
ca976c524a
Update security samples for ObjectiveC client. ( #5286 )
2017-04-04 14:44:09 +08:00
Paŭlo Ebermann
35ce3f48b9
Updating security samples for C++/QT5. ( #5291 )
2017-04-04 14:43:52 +08:00
Paŭlo Ebermann
66bf83e911
Update security samples for Javascript clients ( #5289 )
2017-04-04 14:43:25 +08:00
Paŭlo Ebermann
0695a58f3c
Updating security samples for Python client. ( #5294 )
2017-04-04 14:42:48 +08:00
Paŭlo Ebermann
7462cf70cf
Updating security samples for PHP client. ( #5293 )
2017-04-04 14:42:01 +08:00
Paŭlo Ebermann
cac803351b
Updating security samples for Go-client. ( #5290 )
2017-04-04 14:41:43 +08:00
Paŭlo Ebermann
f44949db58
Update security samples for Ruby-Client. ( #5287 )
2017-04-04 14:41:22 +08:00
Paŭlo Ebermann
bebeac8ae8
Updating security samples for Perl. ( #5292 )
2017-04-04 14:40:58 +08:00
Paŭlo Ebermann
f7b39a85a5
Updating security samples for scala. ( #5295 )
2017-04-04 14:40:36 +08:00
Paŭlo Ebermann
eb3565b6c0
[C#] Fix guid for C# security samples ( #5283 )
...
* Issue #5196 : also fix the packageGuid for the C# security samples.
* Update C# security samples.
2017-04-04 14:38:47 +08:00
wing328
e5b3e3cdac
replace tab with 4space for ts jquery client ( #5299 )
2017-04-03 15:48:51 +08:00
wing328
7db3388fdc
Update maven compiler plugin to the latest version (3.6.1) ( #5300 )
...
* update maven compiler plugin to the latest version
* update feign petstore
2017-04-02 21:39:48 +08:00
Paŭlo Ebermann
ce41a343d8
Updating all samples (except feign) ( #5281 )
2017-04-02 17:01:15 +08:00
jfiala
ca6b5d09d0
[Jaxrs-cxf] Add check for useGenericResponse for jaxrs-cxf server + client ( #4779 )
...
* add check for useGenericResponse for jaxrs-cxf
* move check for genericresponse to cxf codegen #4713
2017-04-02 16:05:16 +08:00
Granjow
64c7e23a04
TypeScript client API: Add public getter/setter for base path ( #5270 )
2017-04-01 16:33:29 +08:00
wing328
e96db74918
update java jersey2 petstore clients
2017-04-01 16:19:31 +08:00
Griffin Schneider
5de19e3214
[Swift3] Fix bug where non-camel-case path params didn't work. ( #5267 )
...
* [Swift3] Fix bug where non-camel-case path params didn't work.
* [Swift3] Fix bug where int enums generated non-compiling code. Swift3 integration tests now pass.
* [Swift3] Add a non-camel-case path parameter to petstore-with-fake-endpoints-models-for-testing. This would have caused the Swift3 tests to be broken before 7387e49fef56a624045aa52b65ffb9c19b3853ec.
2017-04-01 16:06:31 +08:00
Benjamin Douglas
5c3fe23e9f
Support Swagger collectionFormat encodings in Feign ( #5266 )
...
* Support Swagger collectionFormat encodings in Feign
Feign only natively supports the "multi" collectionFormat for encoding lists
of parameter values. This change adds manual encoding of the other formats, such
as "csv" (the default for collections), "tsv", space-separated, and pipes.
* Fix typo in anchor tag.
2017-04-01 15:33:20 +08:00
wing328
b71fe61bb7
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2017-03-31 00:37:05 +08:00
wing328
08be483dab
add new python files
2017-03-31 00:36:51 +08:00
Paŭlo Ebermann
36d1406493
Update samples for javascript + javascript-promise. ( #5241 )
2017-03-30 23:04:49 +08:00
niku
4e1d9ea010
[Elixir] Add documentation for functions ( #5260 )
2017-03-30 22:45:39 +08:00
David Harrigan
fc01457d77
[JAVA][ #5172 ] Allow vendor json media types ( #5189 )
...
* [#5172 ] Allow vendor json media types
* Revert unnecessary diffs
* Update petstore sample
* Didn't run mvn after some edits
* Rerun ' ./bin/java-petstore-all.sh' and './bin/security/java-petstore-okhttp-gson.sh'
* Added more realistic test cases for isJsonMime
2017-03-30 22:23:24 +08:00
Paŭlo Ebermann
46cb158733
Updating C# samples. ( #5242 )
2017-03-30 10:02:42 +08:00
Paŭlo Ebermann
db71d97370
Updating samples after #5232 . ( #5243 )
...
* Updating samples after #5232 .
* Fix tests after #5232 .
* Fix Javascript client tests.
* JaxRS server: set serverPort only when not given from outside.
* Update JaxRS sample creator scripts to fix serverPort.
* Preliminary test fix for JaxRS server generators.
* Updating samples for JaxRS with Jersey1/2.
* Updating JaxRS samples again.
2017-03-30 01:28:53 +08:00
wing328
6debbdb652
[C#] Add C# v5.0 Petstore sample (.NET Standard 1.3 compatible) ( #5249 )
...
* add csharp .net standard petstore client, update appveyor to build the
client as part of ci
* add new files
2017-03-29 18:43:30 +08:00
wing328
996acc05f5
[Java][Retrofit2] update gradle, sbt build file with latest dependencies ( #5238 )
...
* update build.gradle for retrofit2
* update retrofit2 rx2 sample
* update gradle and sbt build file for retrofit2
2017-03-28 21:05:12 +08:00
wing328
55e648c0b1
update retrofit2 dependencies ( #5235 )
2017-03-28 18:50:24 +08:00
wing328
d68859cfbc
fix c# docstring typo ( #5223 )
2017-03-27 18:06:34 +08:00
wing328
b32fe8230a
fix retrofit2 indentation ( #5221 )
2017-03-27 17:21:45 +08:00
Paŭlo Ebermann
b275b8f9da
Updating samples for spring-stubs, springboot-delegate, springboot-delegate-j8. ( #5211 )
2017-03-27 15:24:18 +08:00
Paŭlo Ebermann
ee1ef2c1f6
Update samples for okhttp-gson-parcelableModel. ( #5208 )
2017-03-27 14:22:56 +08:00
Paŭlo Ebermann
4ec23e6694
Update samples for Ruby-Client + Rails server. ( #5214 )
2017-03-27 13:27:13 +08:00
Paŭlo Ebermann
200b10e2da
Update samples for QT5. ( #5216 )
2017-03-27 11:48:16 +08:00
Paŭlo Ebermann
356774ceb2
Update samples for clojure + dynamic-html. ( #5217 )
2017-03-27 11:47:56 +08:00
wing328
b37a7c81b0
add comments to csharp methods ( #5206 )
2017-03-27 11:43:14 +08:00