wing328
b27d8c22c7
fix java import issue due to enum and inner model (array of array of
...
model)
2016-05-09 23:12:12 +08: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
70b25a682d
fix java default and feign sample
2016-05-03 11:19:59 +08:00
xhh
8588c5ce0a
add enum support to java
2016-05-03 11:16:05 +08:00
wing328
11deb43829
add enum class support to php
2016-05-03 11:14:45 +08:00
wing328
800a858acb
add enum support to php, refactor post process model enum
2016-05-03 11:14:44 +08:00
wing328
2111e9ef8d
add new sample files
2016-05-02 22:41:50 +08:00
wing328
d6158c4c55
fix uuid for java, php, ruby and csharp
2016-05-02 22:06:33 +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
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
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
cb394152f9
Java client (default): add more docs to README
2016-03-23 20:05:40 +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
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
xhh
9b229de79f
Java clients: better local variable naming
2016-02-29 13:23:56 +08: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
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
Andrew B
a303a09749
Adding PATCH header override the default Java client
2016-02-12 18:52:49 -08:00
wing328
9f78b3cf9c
fix local java test using fully qualified name
2016-02-07 16:16:06 +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
253a955cff
Merge branch 'master' into java-binary-support
...
Conflicts:
samples/client/petstore/java/default/src/test/java/io/swagger/petstore/test/PetApiTest.java
samples/client/petstore/java/jersey2/src/test/java/io/swagger/petstore/test/PetApiTest.java
samples/client/petstore/java/okhttp-gson/src/test/java/io/swagger/petstore/test/PetApiTest.java
2016-01-21 17:28: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