Commit Graph

3541 Commits

Author SHA1 Message Date
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
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
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
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
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
cbornet
556f529933 add option to use single content-type produces/consumes 2016-06-06 11:45:07 +02: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
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
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
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
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
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
Mikolaj Przybysz
47576471e2 Replaced double quotes with singles 2016-06-01 10:57:20 +02:00