wing328
21dec4dbbc
Merge branch 'gson_date' of https://github.com/cbornet/swagger-codegen into cbornet-gson_date
2016-10-11 00:32:20 +08:00
wing328
59ec339679
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-09 12:26:29 +08:00
wing328
6ef0209dea
add back java okhttp petstore client
2016-10-05 22:55:01 +08:00
wing328
8ce8082f7f
fix bug with parcelable
2016-10-05 22:54:17 +08:00
wing328
a6287bed1d
Merge branch '2.3.0' of https://github.com/swagger-api/swagger-codegen into 2.3.0
2016-10-02 17:24:37 +08:00
wing328
f59c28d08a
escape callback parameter for java(okhttp) and python
2016-09-29 17:41:47 +08:00
Brent Ryan
d334524adc
Re-apply fix after major conflicts upstream
2016-09-17 16:06:23 -04:00
cbornet
f5f959716e
[retrofit2] use gson ISO8601Utils to parse dates
...
See #3727
2016-09-13 21:29:02 +02:00
cbornet
2a0574a3ad
[okhttp] use gson ISO8601Utils to parse dates
...
this allows to remove a lot of code in the ApiClient.
Tests for the ApiClient thus have been move to JSONTest.
Also allow to configure the date formatter of all date types individually.
An assertion in testCreateAndGetPetAsync() is removed because it's useless and makes the test fail randomly.
See #3727
2016-09-13 16:11:47 +02:00
Ville Skyttä
0363858672
java: Javadoc fixes
2016-09-01 18:07:35 +03:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
Cliffano Subagio
3f7127b042
[Java] Add maven-javadoc-plugin to all Java clients. ( #3503 )
...
* Add maven-javadoc-plugin to all Java clients.
* Update sample petstores for other Java clients.
* Fix unknown parameter on api_client's update_params_for_auth method.
* Revert "Fix unknown parameter on api_client's update_params_for_auth method."
To be moved to a separate PR.
This reverts commit 1ee186694241bb6d9a0dccefcdca5afe3f5a1dd2.
2016-08-08 18:27:05 +08:00
wing328
d8cdcbf042
fix jsoncreator annotation issue with java api clients using gson
2016-08-08 00:16:12 +08:00
wing328
a2496df401
add test case for okthtp-gson enum
2016-08-05 11:45:51 +08:00
wing328
670f103859
better enum naming for symbol (java)
2016-08-04 16:37:48 +08:00
wing328
1fde95f997
fix java okhttp (array of enum property)
2016-08-03 01:36:34 +08:00
wing328
25fa3e86f9
add enumName to store the enum prefix
2016-08-03 01:36:13 +08:00
cbornet
3b4465d999
add fluent methods to add items to list and put items to maps
2016-07-27 18:18:48 +02:00
cbornet
421c462ba9
set supportInheritance to true for java based gens
2016-07-18 16:33:20 +02:00
wing328
9e0c865c08
update java petstore sample
2016-07-15 17:45:06 +08:00
Bochun Bai
f75a42f810
Remove more Java String comparison using "=="
2016-07-13 18:06:45 +08:00
wing328
3b780e30d8
change java default lib to okhttp-gson
2016-07-07 15:53:16 +08:00
wing328
aaf7b99220
comment out test case for map of map of enum as many lang don't support
2016-06-29 17:46:45 +08:00
wing328
fd72409e3b
better default value for enum variable declaration
2016-06-29 17:30:33 +08:00
wing328
f88b941d96
fix java okhttp sample
2016-06-29 11:49:40 +08:00
wing328
77c4164b3c
better code injection handling for java
2016-06-29 02:00:43 +08:00
cbornet
d29a5537bc
add support for jsr310 dates to okhttp-gson client
2016-06-20 16:50:08 +02:00
wing328
8283b701e8
fix java property with the name "class"
2016-06-20 14:51:17 +08:00
cbornet
0f3569e982
set joda as default dateLibrary for java codegens that support it
...
Fix #3087
2016-06-10 12:17:36 +02:00
cbornet
61884211bb
add joda support to okhttp-gson and use it in the samples
2016-06-09 18:20:52 +02:00
Peter
32cabcfb23
updated petstore with latest okhttp changes
2016-06-09 11:35:03 +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
Peter
28bece0ce0
made response change to petstore
2016-06-09 08:56:42 +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
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
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
wing328
73ab94dfbf
fix sbt build for okhttp-gson
2016-05-31 22:22:54 +08:00
zhenjun115
a093e7b74d
gradle wrapper for java api client;
2016-05-17 23:40:57 +08:00
Aditya Kajla
5633fdfb3d
Java: Add basic junit test templates for api clients
2016-05-16 17:55:29 -07:00
xhh
020a9fcdc0
Fix enum model docs for JS and Java clients
2016-05-06 18:41:15 +08:00
wing328
fc982d1205
add new files for java petstore
2016-05-03 11:20:44 +08:00
wing328
6370165912
fix retrofit 1, 2 java sample
2016-05-03 11:19:59 +08:00
wing328
3913388331
fix java okhttp enum mismatche tab
2016-05-03 11:19:59 +08:00
xhh
4419e71d4b
improve enum support in java okhttp-gson client
2016-05-03 11:16:05 +08:00
wing328
1ca246c4c8
update java version in pom for java api client
2016-04-23 12:59:36 +08:00
wing328
8c27f296fb
update maven and gradle version for java api client
2016-04-22 23:13:12 +08:00
wing328
fb04bb7d4d
Revert "Revert "[Java] Add auto-generated documentation in Markdown to Java clients""
2016-04-22 10:13:54 +08:00