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
wing328
6a73f29cef
Merge pull request #3038 from Landschaft/master
...
[Swift] #3036 Make APIHelper.convertBoolToString return nil for nil input
2016-06-08 00:26:55 +08:00
Jan Schmidle
10e970e707
fix date format in example generator
2016-06-07 17:46:06 +02:00
wing328
bd2250b6ca
Merge pull request #3058 from clasnake/3044/gradle_for_scala
...
Add gradle support for the scala client.
2016-06-07 23:45:27 +08:00
wing328
27cd38ba61
Merge pull request #3043 from qtstc/master
...
Stop Reading Custom Template Files from subdirectory
2016-06-07 19:19:03 +08:00
wing328
70005a2ec6
Merge pull request #3066 from taxpon/issue-3064-python-configuration-bug
...
Fix 'isOauth' to 'isOAuth' in python template
2016-06-07 19:01:20 +08:00
wing328
dd52f01fc6
Merge pull request #3070 from wing328/remove_ignore_global_file
...
Replaced global license file with default LICENSE
2016-06-07 15:17:30 +08:00
wing328
3ae48b179a
replaced global license file with default LICENSE
2016-06-07 15:15:20 +08:00
Jim Schubert
483dba2aff
[swagger-codegen-ignore] Skip file case test Windows
...
There doesn't appear to be an excellent way to resolve a case sensitive
test on Windows, so conditionally skipping the test on Windows.
See #3047
2016-06-06 21:24:08 -04:00
Takuro Wada
3c919974a7
Fix 'isOauth' to 'isOAuth' in python template
2016-06-07 08:30:17 +09:00
clasnake
4c9e7ae572
Add gradle support for the scala client.
2016-06-06 22:04:17 +08:00
cbornet
1836062e6f
don't put RequestMapping on the interface
...
as Spring-MVC will automatically consider it as a controller which is not necessarily the case (eg. for a spring-cloud FeignClient)
2016-06-06 14:40:11 +02:00
wing328
895f13cc11
Merge pull request #3050 from taxpon/issue-3041
...
[Python] Follow PEP8 rules ( Issue #3041 )
2016-06-06 18:18:36 +08:00
Mateusz Mackowiak
24ecf9d74f
[Objc] Support for x-unique-id-key vendorExtensions
2016-06-06 12:13:06 +02:00
cbornet
556f529933
add option to use single content-type produces/consumes
2016-06-06 11:45:07 +02:00
ant3
b8ebee1ec3
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-06-05 23:13:52 +01:00
ant3
9a9d5ebd9f
Allow generation of Jersey2 clients with JSR310 classes
...
If the -DdateLibrary=java8 option is set on the command line then
jersey2 client code will be generated using JSR310 classes rather than
Joda time. Because JSR310 requires java8 the java target version is
also changed in the build files.
2016-06-05 23:11:29 +01:00
wing328
eeb14ae936
Merge pull request #3018 from mateuszmackowiak/objc/binary_data
...
[Objc] Proper binary data handle
2016-06-05 22:28:56 +08:00
Takuro Wada
955d39f709
[Python] Follow PEP8 rules ( Issue #3041 )
2016-06-05 23:15:36 +09:00
wing328
2e60847f7f
Merge pull request #3045 from clasnake/3006/sbt_for_java_scala
...
Add sbt support for feign, retrofit, retrofit2 and retrofit2rx.
2016-06-05 22:01:17 +08:00
wing328
f2f6940006
Merge pull request #2987 from mbarclay/master
...
Added date format string #2935
2016-06-05 21:42:56 +08:00
zhenjun115
67c3f98d96
enable python api client to return just data without http header info when need;
2016-06-04 23:30:10 +08:00
clasnake
a84ed9cb57
Fix build.sbt.mustache for feign.
2016-06-04 22:18:23 +08:00
clasnake
4da829315f
Add sbt support for feign.
2016-06-04 21:51:49 +08:00
clasnake
503fb138f5
Add sbt support for retrofit2 and retrofit2rx.
2016-06-04 21:13:10 +08:00
clasnake
9ed290efea
Add sbt support for retrofit.
2016-06-04 20:53:21 +08:00
tao
83e8a2e90c
stop reading custom template file from subdirectories
2016-06-03 16:08:07 -07:00
Artur Dzmitryieu
2bbe26b41a
Add new jax-rs language that uses only 2.0 spec API's
2016-06-03 15:52:46 -04:00
Landschaft
17a639be75
[Swift] #3036 Make APIHelper.convertBoolToString return nil for nil input. This will prevent the creation of an empty body for GET requests.
2016-06-03 21:14:45 +02:00
cbornet
a452bbf039
add interfaceOnly option test
2016-06-03 16:25:02 +02:00
cbornet
3b37584c1f
update README
2016-06-03 16:21:37 +02:00
cbornet
fe8b0cf07b
add option to only generate stubs of the API and no server files
...
Fix #3025
2016-06-03 16:21:37 +02:00
wing328
ee5d2e99b1
Merge pull request #3035 from leonyu/typescript-fetch-update-typings-to-v1
...
Typescript fetch: update typings to 1.0.4
2016-06-03 18:05:44 +08:00
wing328
ac4c460338
Merge pull request #3027 from pablograna/fix-eclipse-errors
...
Use UnsupportedOperationException.
2016-06-03 15:48:28 +08:00
wing328
75de07d439
Merge pull request #3030 from clasnake/3006/sbt_for_java_scala
...
3006/sbt for java scala
2016-06-03 14:51:56 +08:00
Griffin Schneider
689841ce8e
[ObjC] Fix various bugs in generated code. ( #3031 )
...
* [ObjC] Fix bug where ApiClient.timeoutInterval didn't do anything.
* [ObjC] Fix bug where <AFNetworking.h> couldn't be found.
* [ObjC] Fix useages of 'SWG' instead of {{classPrefix}} in Sanitizer-body.mustache.
2016-06-03 14:47:59 +08:00
Leon Yu
a34373fe34
Update typings version
...
rebuild test target
2016-06-02 18:56:08 -04:00
clasnake
f4ba31964a
Merge branch 'master' into 3006/sbt_for_java_scala
...
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-03 00:43:43 +08:00
clasnake
f0d3bd8f21
Add sbt support for jersey2, fix dependency issue for okhttp-gson.
2016-06-03 00:37:53 +08:00
Jakub Malek
01145be00d
NancyFx:
...
- Moved model enum definitions to model class to avoid name duplications
2016-06-02 16:06:47 +02:00
Pablo Gra\~na
328787186c
Use UnsupportedOperationException.
...
Replaced NotImplementedException with UnsupportedOperationException. See
bug #3011 .
Eclipse was throwing some errors related to differences in package names
vs file path. I renamed the packages io.swagger.codegen.Go to
io.swagger.codegen.go, io.swagger.codegen.slim to package
io.swagger.codegen.lumen and io.swagger.codegen.springBoot to
io.swagger.codegen.springboot in some test files.
2016-06-02 08:20:10 -03:00
Jakub Malek
460f8130db
NancyFx:
...
- Fixed Query and Headers parameters parsing
2016-06-02 13:12:16 +02:00
Jakub Malek
9c8373aea2
NancyFx:
...
- Fixed model template
2016-06-02 11:53:25 +02:00
wing328
a3610f1c12
[Java] fix warning in pom.xml (java okhttp-gson) ( #3023 )
...
* fix warning in pom.xml
* minor fix to pom (okhttp-gson)
2016-06-02 17:37:11 +08:00
Jakub Malek
adb02a030f
NancyFx:
...
- Skipping parsing nulls of nullable types
2016-06-02 11:18:51 +02:00
Jakub Malek
a458e53e25
NancyFx
...
- Detailed exception of not expected parse error
2016-06-02 11:14:05 +02:00
Jakub Malek
d1cf803e49
NancyFx:
...
- Yet another fix for nullable enums parsing
2016-06-02 11:05:40 +02:00
Jakub Malek
4c69e02a21
NancyFx:
...
- Fixed parsing nullable enums
2016-06-02 11:00:16 +02:00
Jakub Malek
d201d6331c
NancyFx:
...
- Details exception for error of dynamic value of parameter
2016-06-02 10:52:21 +02:00
Jakub Malek
0996f8c930
NancyFx:
...
- Detailed exception of get parameter error
2016-06-02 09:53:42 +02:00
Jakub Malek
da5804d583
NancyFx:
...
- Using nullable enum types in API
2016-06-02 08:57:49 +02:00
Takuro Wada
91c35509b8
set 'None' to body for request if given body is 'None' ( issue #3020 ) ( #3021 )
2016-06-02 14:51:13 +08:00
wing328
23d2c56096
[JAX-RS] fix library setting "jersey2" ( #3016 )
...
* to fix #2981
* update sample, update ci to include jaxrs (jersey1, 2)
* avoid duplicated artifactId in pom (jaxrs jersey1)
* update jetty dependency for jersey1 jaxrs
* update bin to set proper artifact-id
* fix jersey1 jaxrs pom.xml
* fix dependency in jaxrs jersey2 pom
* downgrade jetty plugin to 9.3.0.v20150612
* update petstore sample for jaxrs jersey 1
* restore jetty to previous version. update test order
* downgrade jetty maven plugin version
* restore original version of jetty plugin
2016-06-02 14:33:08 +08:00
Jakub Malek
1cfb3d1c9c
NancyFx:
...
- Changed enum class name format
- CodegenProperty parent and parentClass replaced by Booolen flag isInherited
2016-06-02 08:14:49 +02:00
wing328
85550285a1
Merge pull request #3017 from mateuszmackowiak/objc/user_agent
...
[Objc] Add customizable user-agent #2715
2016-06-02 14:11:15 +08:00
wing328
36a8ed2c37
Merge pull request #3013 from DavidBiesack/preserve-schema-name
...
use {{name}} not {{classname}} in HTML section header/anchors
2016-06-02 11:49:30 +08:00
Mateusz Mackowiak
7a87746af1
[Objc] Proper binary data handle
2016-06-01 16:43:35 +02:00
wing328
43fe3fa6d0
Merge pull request #3003 from Cosium/feign-disable-fail_on_unknwon_properties
...
Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default
2016-06-01 22:33:36 +08:00
wing328
8f82034a4f
Merge pull request #2947 from mikolajprzybysz/version-check-mustache
...
[PHP] Check skipping artifiactVersion in other mustache templates, since it is not required anymore
2016-06-01 22:12:13 +08:00
Mateusz Mackowiak
2ead00c96d
[Objc] Add customizable user-agent #2715
2016-06-01 15:51:52 +02:00
Jakub Malek
dbc6c2f163
Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into nancyfx-codegen
2016-06-01 15:04:41 +02:00
Jakub Malek
fc9b4501fc
NancyFx:
...
- Fixed inheritance support
2016-06-01 15:04:18 +02:00
Mikolaj Przybysz
47576471e2
Replaced double quotes with singles
2016-06-01 10:57:20 +02:00
Mikolaj Przybysz
4f54e5cdc7
Improved formatting
2016-06-01 10:43:22 +02:00
Mikolaj Przybysz
37264b0bcf
Removed printing artifactVersion if it is not set from debug information
2016-06-01 10:35:52 +02:00
Mikolaj Przybysz
ce2e994306
Removed printing artifactVersion if it is not set
2016-06-01 10:30:55 +02:00
wing328
7b6747e6f3
Merge pull request #2872 from dmytrobr/feature/issue-2868
...
use Title attribute as model name
2016-06-01 10:55:54 +08:00
David Biesack
147497ae34
use {{name}} not {{classname}} in HTML seaction head/anchors
2016-05-31 15:57:40 -04:00
Réda Housni Alaoui
5740de9cc7
Feign: disable FAIL_ON_UNKNOWN_PROPERTIES by default
2016-05-31 18:51:11 +02:00
Mateusz Mackowiak
fbd8deef46
[Objc] core data objc update license
2016-05-31 18:27:34 +02:00
wing328
73ab94dfbf
fix sbt build for okhttp-gson
2016-05-31 22:22:54 +08:00
Marcin Stefaniuk
e1df89c8fa
Formatting fix.
2016-05-31 13:49:45 +02:00
Jakub Malek
30b7eb7854
NancyFx:
...
- Omitting copyright and licenceurl tags i nuspec when not specified
2016-05-31 09:01:26 +02:00
Jakub Malek
849aa5064d
NancyFx:
...
- Including dependencies in csproj
2016-05-31 08:50:36 +02:00
wing328
4f9b43b555
Merge pull request #2988 from wing328/objc_core_data_cherrypick2
...
[Objc] Basic Core data support [Optional]
2016-05-30 23:28:22 +08:00
wing328
14aefe786e
Merge pull request #3000 from zlx/rails-5-license
...
Add LICENSE into rails5
2016-05-30 22:07:10 +08:00
Mateusz Mackowiak
a8daf94831
Remove nullability warnings
2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
8aa777405a
[Objc] CoreData pod spec add resources only if useCoreData is on
2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
bfd71c1e29
[Objc] CoreData added test
2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
5145beea05
[Objc] coraData cli option changed from y/n to true false
2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
ceda86b9c3
[Objc] Basic Core data support
2016-05-30 22:02:16 +08:00
wing328
81b6ccfe1c
Merge pull request #2999 from wing328/update_license
...
Add appendix to Apache license
2016-05-30 21:59:43 +08:00
Jakub Malek
16200ae424
NancyFx:
...
- Mutable model generation for option -Dimmutable-false
2016-05-30 15:49:37 +02:00
Newell Zhu
e7baa17ba0
Add LICENSE into rails5
2016-05-30 21:38:59 +08:00
wing328
867a4f80ee
Merge pull request #2996 from wing328/package_json_license
...
Update nodejs/ts package.json use Apache-2.0 license
2016-05-30 21:34:24 +08:00
wing328
fb68f61a03
Merge pull request #2992 from jimschubert/swagger_codegen_ignore_docs
...
[codegen ignore] Add tests and docs, fix two minor issues
2016-05-30 21:34:12 +08:00
wing328
b6595f7a1c
add appendix to license
2016-05-30 21:23:12 +08:00
Jakub Malek
c6d4df3e41
NancyFx:
...
- Handling class name mapping
2016-05-30 15:04:16 +02:00
Jakub Malek
c734a216af
NancyFx:
...
- Handling importMapping
2016-05-30 13:21:55 +02:00
Jakub Malek
ba26df95e2
NancyFx:
...
- Added generation of .nuspec file
2016-05-30 12:09:00 +02:00
Jakub Malek
1d167b709d
NancyFx:
...
- Including API docs
2016-05-30 11:21:21 +02:00
Jakub Malek
a72640ce9c
NancyFx:
...
- Sealed class for generated Modules
- Empty constructor added to model classes
- Code cleanup
2016-05-30 10:33:22 +02:00
wing328
9d581a791d
Merge pull request #2968 from zhenjun115/java_api_client
...
add markdown docs for java api client using retrofit2;
2016-05-30 11:15:32 +08:00
Darrell King
8a403a06e3
2983: Java Feign client generator: HTTP header name should be named Accept not Accepts
2016-05-29 21:14:59 +01:00
Jim Schubert
e0c3aa276d
[codegen ignore] Lazy test setup
...
Moved temp directory preparation to occur at the start of tests and
added temp directory prefix to help avoid conflicts with other tests.
2016-05-29 09:47:47 -04:00
wing328
a1e9b8f81e
Merge pull request #2990 from jimschubert/cs/number_to_decimal
...
[csharp] map number/no format to Decimal
2016-05-29 20:58:31 +08:00
wing328
4d8d4e6995
Merge pull request #2995 from wing328/feature/model_map_property
...
Fix spec for map and array
2016-05-29 18:10:48 +08:00
wing328
a27cda68ce
update nodejs/ts package license to use Apache-2.0
2016-05-29 18:08:32 +08:00
wing328
6d1fd2c78d
fix spec for map and array
2016-05-29 17:28:33 +08:00
wing328
4b74f6ccef
add defaulat license (apache2.0) to all generators
2016-05-29 15:02:06 +08:00
wing328
e6825eaff4
Merge pull request #2989 from wing328/ts_querystring_cherrypick2
...
[Typescript-Node] Add Support for useQuerystring Request Option #2905
2016-05-29 12:01:56 +08:00
Jim Schubert
d172de260d
[codegen ignore] Add tests, fix two minor issues
...
Tests are create to act on actual files to gauarantee functionality of
.swagger-codegen-ignore processing. Found two minor issues, one with
directory processing of files below the directory and another with
filename.* patterns reversing as *filename. for the pattern.
Added documentation to the README about .swagger-codegen-ignore file
support and syntax.
2016-05-28 22:25:45 -04:00
Jim Schubert
eccd4d5245
[csharp] map number/no format to Decimal
2016-05-28 15:09:50 -04:00
Malcolm Barclay
5777d21579
Merge remote-tracking branch 'upstream/master'
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-05-28 18:47:41 +01:00
Alexander Fisher
449e74b873
Move changes to samples to source code. Build, run, test.
2016-05-29 01:30:37 +08:00
Alexander Fisher
7f2a16a78b
Add ability to set useQuerystring on request globally for api.
2016-05-29 01:29:14 +08:00
wing328
063f83f18b
Merge branch 'objc/License' of https://github.com/mateuszmackowiak/swagger-codegen into mateuszmackowiak-objc/License
2016-05-28 10:16:57 +08:00
Jim Schubert
fafcd33e27
[csharp] Intercept hooks for req/res and ExceptionFactory
2016-05-27 22:10:06 -04:00
Guo Huang
6415018c8f
removed tab in logger, added warnings for import
2016-05-27 09:42:08 -07:00
Guo Huang
4b41877419
updated read me and removed extra space
2016-05-27 09:18:23 -07:00
Mateusz Mackowiak
ef66f9622c
Moved GlobalSupportingFile to separate file
2016-05-27 16:04:20 +02:00
Mateusz Mackowiak
d82c77da34
- [Objc] Fix test after removing license property
...
- Moved adding License file to DefaultGenerator
2016-05-27 12:46:09 +02:00
Guo Huang
ef71d50eee
fixed spacing issue
2016-05-26 22:49:13 -07:00
Malcolm Barclay
a56d927b0c
Added date format string #2935
...
Support decoding of RFC3339 compliant date-time strings with fractional seconds, but no timezone.
2016-05-27 06:48:39 +01:00
Guo Huang
db9684ff19
issue#2970, [Go] add go server codeine template
2016-05-26 22:34:18 -07:00
wing328
f5ff62e685
Merge pull request #2972 from scottrw93/license
...
[Python] Include license in generated client
2016-05-27 11:54:47 +08:00
Scott Williams
c18241cffc
Update license header
2016-05-26 21:44:40 +01:00
Scott Williams
23271d74ea
Update license header
2016-05-26 21:42:37 +01:00
wing328
662d4efcaf
Merge pull request #2957 from fabdslv/rm-force-unwrap
...
[Swift] Remove force unwrap in model constructor
2016-05-26 18:38:54 +08:00
wing328
aeaf60713f
Merge branch 'feature/ruby_enum_support2' of https://github.com/zlx/swagger-codegen into zlx-feature/ruby_enum_support2
...
Conflicts:
samples/client/petstore/ruby/README.md
samples/client/petstore/ruby/lib/petstore/models/additional_properties_class.rb
samples/client/petstore/ruby/lib/petstore/models/mixed_properties_and_additional_properties_class.rb
samples/client/petstore/ruby/lib/petstore/models/read_only_first.rb
2016-05-26 17:20:49 +08:00
wing328
f448ec3728
Merge pull request #2969 from guohuang/license
...
[Go] add apache v2 LICENSE
2016-05-26 15:05:42 +08:00
Scott Williams
e0dbb44b37
Put license header in shared file
2016-05-25 22:35:38 +01:00
Scott Williams
349b727b2c
Include license in genrated client
2016-05-25 22:20:08 +01:00
Arne Jørgensen
5c97d1b8f7
[PHP] Improve code style of generated code
...
Avoid trailing whitespace.
2016-05-25 22:53:01 +02:00
Arne Jørgensen
d9d3a41deb
[PHP] add apache v2 license to PHP client
...
See #2963 .
2016-05-25 22:53:01 +02:00
Guo Huang
7b57a26a97
added apache LICENSE
2016-05-25 10:11:52 -07:00
Mateusz Mackowiak
c68168fa27
- Remove optional license property
...
- License in all header files
2016-05-25 18:13:27 +02:00
zhenjun115
09a29063be
add markdown docs for java api client using retrofit2;
2016-05-25 23:44:44 +08:00
wing328
9598974d45
Merge pull request #2908 from iomark/master
...
[Objc] fixed code generation for collection parameter
2016-05-25 21:57:00 +08:00
wing328
31aee5b3a7
Merge pull request #2950 from wing328/update_pom_220
...
Update pom.xml to use 2.2.0-SNAPSHOT
2016-05-25 21:10:43 +08:00
Mateusz Mackowiak
537ee960b6
[Objc] Add Apache v2 license to auto-generated files #2963
2016-05-25 15:09:05 +02:00
wing328
0a724a3008
update pom for swagger codegen module
2016-05-25 17:25:18 +08:00
Marcin Stefaniuk
c59f2b0322
Versioning of generated model (namespace, base context).
2016-05-25 11:23:11 +02:00
wing328
38a422212d
Merge pull request #2948 from mikolajprzybysz/use-php-eol
...
[PHP] Replaced \n with PHP_EOL
2016-05-25 16:49:37 +08:00
wing328
8096308657
add apache v2 license to csharp api client
2016-05-25 14:41:17 +08:00
Fabien Da Silva
4404b907bc
[Swift] Remove force unwrap in model constructor
...
Fix #2955
2016-05-24 21:54:46 +02:00
wing328
105b4b9199
new test case to cover model with array properties
2016-05-25 01:18:50 +08:00
wing328
29008b5802
add licence template for ruby api client
2016-05-25 00:48:31 +08:00
wing328
568fa4f514
add apache license to remaining ruby files (test, spec, etc)
2016-05-24 23:20:23 +08:00
Jakub Malek
bf68801295
NancyFx:
...
- Passing NancyContext to service instead of Request
2016-05-24 16:19:45 +02:00
Jakub Malek
bc6fcbdc7b
NancyFx:
...
- Unnecessary dependencies removal
- Nancy version update
2016-05-24 16:07:22 +02:00
Jakub Malek
da3aa7214d
NancyFx:
...
- Fixed Module classes naming (removed double 'Module' suffix)
- Using partial classes for generated Nancy modules
2016-05-24 15:17:27 +02:00
Mikolaj Przybysz
041c5d1d34
Replaced \n with PHP_EOL
2016-05-24 14:25:16 +02:00
Jakub Malek
cef6c9d8ba
NancyFx:
...
- Using NodaTime for date types
2016-05-24 14:08:09 +02:00
Marcin Stefaniuk
d0e3b5cc71
Moving enum definition of model lists outside class.
2016-05-24 13:07:14 +02:00
wing328
d05d552b74
Merge pull request #2946 from wing328/ruby_license
...
[Ruby] update Ruby API client to use apache v2 license
2016-05-24 18:11:28 +08:00
wing328
c7110debee
update ruby api client to use apache v2 license
2016-05-24 17:50:28 +08:00
Marcin Stefaniuk
4b2e3a01f9
Renaming request dispatcher to Nancy specific Module.
2016-05-24 11:31:27 +02:00
wing328
d82bbfdaf4
Merge branch 'java_api_client' of https://github.com/zhenjun115/swagger-codegen into zhenjun115-java_api_client
2016-05-24 16:36:33 +08:00
Jakub Malek
ba38a3b6cb
NancyFx:
...
- Removed "Enum" suffix of Enum class name
2016-05-24 10:32:09 +02:00
Jakub Malek
c653aeec0b
NancyFX:
...
- Fixed parsing enum parameters in NancyModule
2016-05-24 10:25:18 +02:00
Jakub Malek
57aa6d01d2
NancyFx:
...
- Using virtual interface implementation in AbstractService
- Fixed namespace for module classes
- Using Parameters utility for parsing parameters in NancyModule
- Excluding obj folder from csproj
2016-05-24 10:14:22 +02:00
Jakub Malek
04af1cf2a7
NancyFx:
...
- Passing Nancy.Request to service interface
- Generating AbstractService code
- Removed null defaults from constructors in models
- Fixed project namespace
2016-05-23 16:53:01 +02:00
Newell Zhu
24a0ced972
regenerate ruby spec file
2016-05-23 21:30:40 +08:00
Newell Zhu
942b015c8f
Add normal class enum support
2016-05-23 20:54:30 +08:00
Marcin Stefaniuk
9354fc8b0f
Retrieving enum params from api request.
2016-05-23 13:56:28 +02:00
Marcin Stefaniuk
36e94f7ed1
Enumerations on api input.
2016-05-23 13:40:12 +02:00
Urs Keller
91177cd536
typescript-angular2 query string fix
2016-05-23 10:55:54 +02:00
Alex Nolasco
3035aeb803
Misspellings
...
codition => condition
2016-05-22 15:15:06 -04:00
Alex Nolasco
4b4d5aeb2e
Mispelling
...
initalise=> initialize
2016-05-22 14:08:23 -04:00
wing328
69ec14d628
fix csharp constructor for model with read-only 1st property
2016-05-21 22:42:37 +08:00