Commit Graph

31 Commits

Author SHA1 Message Date
xhh
909d1b537b Support readonly properties for Java retrofit clients 2016-02-22 19:00:57 +08:00
xhh
ee1f401145 Merge branch 'master' into java-imports
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
2016-01-29 11:16:14 +08:00
xhh
34a941f352 Improve imports in api/models of Java clients
Closes #1810
2016-01-20 16:49:25 +08:00
xhh
5eb1cc04b9 Fix tests of UserAPI 2016-01-20 12:16:38 +08:00
xhh
1ddc91b8a9 Try fixing occasional testing failuers in Java client
by using random and atomically increasing IDs
2016-01-20 11:55:04 +08:00
wing328
99d19575f0 fix missing object import in java (retrofit, okhttp) 2016-01-05 14:44:26 +08:00
xhh
f4581d3008 Update imports in models of Java clients
- Remove the StringUtil import which is no longer needed
- Remove duplicated imports of Objects and io.swagger.annotations.*
- Only include jackson related imports in the Java clients needing it
  (i.e. the default, jersey2 and feign Java clients)
2015-12-31 12:44:34 +08:00
xhh
3d4b5ff1c7 Java: Move method StringUtil.toIndentedString to model
Closes #1701
2015-12-29 12:30:54 +08:00
wing328
3e213267aa update java petstore sample 2015-11-29 00:18:34 +08:00
xhh
0dac326230 Add "==", "eql?" and "hash" methods to Ruby client 2015-11-25 11:46:43 +08:00
xhh
f2a8955926 Add "equals" and "hashCode" methods to Java clients
for the "retrofit" and "retrofit2" libraries
2015-11-23 19:59:44 +08:00
wing328
ee60b5f4f1 Merge pull request #1494 from cbornet/android_manifest
Add android manifest to java codegen
2015-11-12 17:17:01 +08:00
xhh
c07e30b8cf Update testCreateUser to avoid occasional failures 2015-11-10 13:22:06 +08:00
wing328
4feca0d680 Merge pull request #1491 from cbornet/javax_android
Provide dependency to javax.annotation.Generated for android templates
2015-11-08 11:12:57 +08:00
xhh
8d3e555f8a Add README.md to Java clients
containing documentation like how to build and use the client
2015-11-06 17:15:32 +08:00
cbornet
8b0bf8ff72 add a listener on new token reception
Add a listener on new token reception that can then be stored or logged for debug
Add an helper method to add authorizations (otherwise if the swagger def is not complete or correct, it is hard to configure from the main app)
2015-11-02 19:20:24 +01:00
cbornet
5b1f287176 add android manifest to java codegen 2015-11-02 18:32:52 +01:00
cbornet
645b8a01e1 provide dependency to javax.annotation.Generated for android 2015-11-02 16:16:14 +01:00
xhh
95113dbe22 Fix syntax error on authMethods in java retrofit client 2015-10-27 10:45:23 +08:00
Tony Tam
7f5cdba606 rebuilt 2015-10-20 11:42:40 -07:00
Tony Tam
10a9c62e2b merged 2015-10-20 10:57:36 -07:00
Tony Tam
2f3a2413c7 rebuilt 2015-10-20 08:49:26 -07:00
cbornet
3debd08a32 remove useless import 2015-10-16 12:47:25 +02:00
cbornet
92d1e8a1d9 use StringUtil to format csv 2015-10-16 12:21:45 +02:00
cbornet
71c5160739 add colllectionFormat support to retrofit
Fix #1364
2015-10-16 12:21:45 +02:00
xhh
a94384ca7f Merge branch 'master' into java-util-model-package 2015-10-15 10:38:19 +08:00
cbornet
5ed52b3e1d add gradle files with android support 2015-10-12 16:16:38 +02:00
xhh
aa0fbada07 Add a "fullJavaUtil" option to Java clients
to toggle whether to use full qualified name (with full package prefix)
for classes under java.util
2015-10-09 22:10:22 +08:00
xhh
ab34dc5697 Rebuild Java cilents of the Petstore sample 2015-10-09 22:10:21 +08:00
cbornet
f29f5d6f13 fix error with formParams in async ops 2015-09-18 14:45:37 +02:00
cbornet
1863aca0fa set retrofit as a java library
Fix #1247
Fix #1248
2015-09-18 14:21:48 +02:00