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
wing328
c171356d24
Revert "[Java] Add auto-generated documentation in Markdown to Java clients"
2016-04-22 00:21:04 +08:00
xhh
f8489c1fcf
Fix typo, regenerate Java petstore clients
2016-04-21 18:34:00 +08:00
xhh
ad258a34cc
Fix test cases for Java petstore clients
2016-04-21 18:14:11 +08:00
xhh
a3f57d6cbd
Escape model name in Java okhttp-gson client
2016-04-19 20:29:49 +08:00
xhh
f10d4c8e23
Merge branch 'master' into java-docs
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
samples/client/petstore/java/default/pom.xml
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Animal.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Cat.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Dog.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/jersey2/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Cat.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Dog.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Name.java
2016-04-19 20:19:10 +08:00
Fabien Da Silva
06f6bcb57d
[Java + Android] Update generated samples
2016-04-13 17:28:11 +02:00
Fabien Da Silva
4f8bbea660
[Android] Update build.gradle and pom.xml in Java libraries
...
Fix #2451
2016-04-13 14:39:20 +02:00
wing328
68cb030609
add new files for format test model
2016-04-11 22:11:53 +08:00
wing328
44a4219e3e
fix swift mapping with int and number
2016-04-11 19:37:56 +08:00
Fabien Da Silva
efd68445db
Provide dependency to javax.annotation.Generated for android with Retrofit 2
...
Fix #2509
2016-04-07 17:38:10 +02:00
Tony Tam
034ed5d149
rebuilt with generation timestamp disabled
2016-04-03 14:36:00 -06:00
xhh
7a0eef61d0
Add enum to Java docs
...
* Parameter enum values
* Inner enum class (model property)
* Outer enum class (enum model/definition)
2016-03-29 18:17:51 +08:00
xhh
64d1c40b23
Java docs: improve install instructions
2016-03-23 23:49:01 +08:00
xhh
407e96f1be
Minor fix on class name in Java markdown docs
2016-03-23 20:57:37 +08:00
xhh
df7c255cd4
Java client: generate markdown docs for jersey2 and okhttp-gson clients
2016-03-23 20:32:33 +08:00
xhh
cb394152f9
Java client (default): add more docs to README
2016-03-23 20:05:40 +08:00
xhh
794aae3fcf
Include parameter's default value in comment for operations
...
for Java feign, retrofit and retrofit2 clients
2016-03-19 16:12:34 +08:00
xhh
33483055a5
Java clients: fix test cases on HTTP basic auth
2016-03-17 19:04:57 +08:00
xhh
4100a8537b
Display parameter's default value for operations
...
Done for Java clients (default, jersey2, okhttp-gson), Ruby client and
JavaScript client.
2016-03-17 16:22:36 +08:00
wing328
47bb5689d9
better hanlding of model name starting with number
2016-03-17 11:49:06 +08:00
wing328
be7a49385f
set default user default for ruby, php, python, java
2016-03-15 11:41:47 +08:00
wing328
a529d9dfe0
push new git_push and .gitinore file
2016-03-12 18:01:53 +08:00
wing328
637bdd2f50
add git_push and gitignore to most client generators
2016-03-12 17:35:25 +08:00
delenius
a1052a0534
Fix warnings in generated pom.xml file
...
This also updates the generated petstore, due to previous
changes (not mine).
2016-03-10 11:51:05 -08:00
cbornet
ba3d548712
remove okhttp and gson dependencies
2016-03-07 10:38:27 +00:00
cbornet
6f114a1556
add scalar converter to retrofit2
...
Fix #2177
2016-03-07 09:19:55 +00:00
xhh
f9cc29fb74
Update petstore to use an inline model for testing
...
and add test cases to Java clients for "object" type with no properties.
2016-03-03 12:48:44 +08:00
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
3106cadaf7
Merge pull request #2273 from xhh/java-local-var
...
[Java] better local variable naming for Java clients
2016-02-29 18:20:52 +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
xhh
9b229de79f
Java clients: better local variable naming
2016-02-29 13:23:56 +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
37c77d63c2
Java client: add ApiException to javadoc
...
and some indentation fixes
2016-02-23 20:09:46 +08:00
xhh
909d1b537b
Support readonly properties for Java retrofit clients
2016-02-22 19:00:57 +08:00
xhh
b8beca7f24
Java: do not generate setter for readonly properties
2016-02-22 15:50:43 +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
xhh
7296da7bc3
Fix tests by upgrading libraries
2016-02-19 17:48:59 +08:00
xhh
a892511b1f
Add missing libs to Java jersey2 client
2016-02-19 13:24:16 +08:00
xhh
de463cf170
Merge branch 'master' into java-object-mapper-getter
...
Conflicts:
samples/client/petstore/java/default/src/main/java/io/swagger/client/ApiClient.java
2016-02-18 20:57:22 +08:00
xhh
b9a6a9b6ce
Java: add getter/setter for ApiClient#objectMapper
...
and ApiClient#httpClient as well.
Closes #2134
2016-02-18 20:17:42 +08:00
xhh
cac8df949d
Fix tests
2016-02-17 19:46:40 +08:00
xhh
b2ed17e63e
Remove unused jackson imports from Java models
...
by fixing the logic of enum Boolean checking.
Other changes:
* Remove the `true &&` prefix from the `equals` method in models.
* Apply some changes of Java-default to Java-okhttp-gson, i.e. adding
`this` and parent model handling.
* Some improvements on spaces and blank lines.
2016-02-17 18:03:27 +08:00
wing328
516a9413a2
update pom.mustache and sample
2016-02-15 18:24:57 +08:00
wing328
816ae0bb3f
update pom for okhttp-gson java to test gradle
2016-02-15 18:17:35 +08:00