323 Commits

Author SHA1 Message Date
xhh
7bea6da587 Do not generate models for "object" type with no properties
Also updated the petstore sample to include operations to cover the case
in model property and response, and updated Java clients to sync with
it.

Closes #2237
2016-03-02 21:12:27 +08:00
wing328
d665903b3f Merge pull request #2149 from dhontecillas/master
support latest Retrofit 2 v2.0.0-beta4
2016-02-29 18:05:14 +08:00
David Hontecillas
0fe8f7e375 fix build.gradle template for retrofit2 2016-02-26 13:34:57 +01:00
David Hontecillas
6788c89816 fix templates for retrofit2rx and build.gradle 2016-02-25 17:00:56 +01:00
David Hontecillas
4ba806f656 update tests for retrofit beta4 2016-02-25 11:34:48 +01:00
xhh
6b6f0df985 Handle reserved operationId/modelName in Java/Android clients 2016-02-25 16:28:11 +08:00
xhh
909d1b537b Support readonly properties for Java retrofit clients 2016-02-22 19:00:57 +08:00
xhh
8c36ed8409 Merge branch 'master' into java-imports
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
2016-02-22 09:24:58 +08:00
Silvio Heuberger
671dba4284 Use retrofit2-beta3 and it's dendencies in retrofit2 clients
Requires some changes to the generated client code
as some package renaming and api changes have occurred.
2016-02-02 15:43:08 +01: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
a41ca7278a update retrofit2 gradle to use double quote 2015-11-29 23:21:44 +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
6d470d1896 remove eclipse files 2015-11-12 17:14:20 +08:00
Emiliano Bonassi
47f4396fb7 - fix source/target java version to 1.6
- add test profile for CI
2015-11-10 12:30:13 +01:00
Emiliano Bonassi
3a7204d66c Add support to Retrofit2 2015-11-10 03:20:49 +01:00