3620 Commits

Author SHA1 Message Date
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
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
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