wing328
a143e9c10c
add int/long check for @min/@max in java model ( #4395 )
2016-12-14 22:21:52 +08:00
lukoyanov
a13dee7167
[Java] Play! Framework 2.4 WS client support + retrofit2 ( #4270 )
...
* implemented core integration with play 2.4 ws
* added shell script to test on CI
* added shell script to composite file for all java generators
* added some comments
changed promise param to Response<T> to allow access to http status code and raw response if needed
* removed unnecessary whitespace changes
* added java7 compatibility, play ws deps to pom.xml
* added generated play24 client
* fixed imports
2016-12-14 17:32:49 +08:00
wing328
62aabfc6c1
Merge branch 'jfiala-beanval_2549'
2016-12-13 00:05:03 +08:00
Jens Oberender
c3571b28a5
Some code cleanings of problems reported by SonarQube. ( #4324 )
...
* Some code cleanings of problems reported by SonarQube.
* Updated changes to the petshop sample.
2016-12-09 15:55:33 +08:00
menchauser
6ebc2fc051
Fix support for 'class' properties in Java codegen ( #4237 )
...
* Fix support for 'class' properties in Java codegen
Currently Java codegen works successfully for property named 'class' but
fails on '_class', '__class', etc, because of 'Object.getClass()'
overloading.
This fix is intended to avoid all Object method overloading cases.
* Regenerated samples for Java petstore-security-test
2016-11-23 00:18:40 +08:00
wing328
4e2c037e21
[Java] fix Java (Jersey1.x) test case ( #4239 )
...
* fix java jersey 1 test case
* fix test for java jersey2.x api client
2016-11-23 00:16:28 +08:00
szakrewsky
76965594b9
Issue #2449 SubClass annotations are missing from the base class ( #4085 )
...
* petstore up to latest
* Issue #2449 SubClass annotations are missing from the base class
* include child in all its super types
2016-11-21 17:03:26 +08:00
wing328
4ae3e57932
Merge branch 'beanval_2549' of https://github.com/jfiala/swagger-codegen into jfiala-beanval_2549
2016-11-19 16:39:31 +08:00
wing328
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
jfiala
a7252e7560
update check for performBeanValidation #2549
2016-11-12 23:31:49 +01:00
jfiala
9d8c419698
update generated petstore for ok-http-gson #2549
2016-11-12 23:20:03 +01:00
wing328
15b216d47b
fix feign gradle build file
2016-11-09 18:36:16 +08:00
wing328
d572b08bf1
fix feign threepane version
2016-11-09 17:09:34 +08:00
wing328
255bc02b83
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-09 16:37:11 +08:00
Christophe Bornet
901a981f26
[feign] Use feign-form ( #4124 )
...
* [feign] Use feign-form
Fix #4108
* [feign] Convert java.util.Date params to rfc3339 with an Expander
2016-11-04 21:13:18 +08:00
Christophe Bornet
70d93883cf
[Java] Threetenbp dates support ( #4029 )
...
* [feign] add threetenbp support for feign clients
* [okhttp] add threetenbp support for okhttp clients
* [jersey] add threetenbp support for jersey clients
* [retrofit2] add threetenbp support for retrofit2 clients
* [spring] add threetenbp support for spring generators
* add a workaround in tests for a bug in the petstore
The petstore doesn't manage fractional digits of dates correctly when there are less than 3
2016-11-04 17:55:16 +08:00
wing328
c1e6f00242
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-02 15:43:00 +08:00
sutdisi
819a8648d5
Jersey2 Patch Support ( #4110 )
...
* Fix for issue 2848 Adding support for PATH in jersey2
* Updating petstore sample for PATCH update
2016-11-02 09:43:29 +08:00
wing328
0eaab90ba5
Merge branch 'retrofit2-vendor-mime-type' of https://github.com/Rajmohan/swagger-codegen into Rajmohan-retrofit2-vendor-mime-type
2016-11-01 21:40:22 +08:00
wing328
a839a6803f
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-20 18:40:19 +08:00
wing328
d1eca76974
add test for java6 jersey2 client
2016-10-20 11:12:31 +08:00
raj k
23fee386f2
Vendor Mime-type support in retrofit2
2016-10-19 16:19:41 -07:00
wing328
b3caf1d0c0
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-12 17:54:16 +08:00
wing328
59502bb92b
Merge pull request #3963 from olivervidovic/issue-890
...
issue-890 correct fix for deprecated Jersey method
2016-10-12 16:05:09 +08:00
wing328
47d3c3a767
update retrofit1,2 samples
2016-10-12 15:48:34 +08:00
wing328
a276c51cd8
Merge branch 'master' of https://github.com/punksta/swagger-codegen into punksta-master
2016-10-12 15:46:22 +08:00
Oliver Vidovic
da6e829c8e
issue-890 correct fix for deprecated Jersey method
...
additionally
- fixed EnumValueTest to the directory structure based on the declared package
- regenerated samples/client/java/jersey1
2016-10-11 11:43:54 -04:00
wing328
a73ad79b9b
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-11 11:52:26 +08:00
Christophe Bornet
2680995825
[Java/Jackson] use a jdk6 compatible DateFormat for java.util.Date ( #3768 )
...
* [feign] use a jdk6 compatible serializer for java.util.Date
See #3727
Fix #3753
* [jersey] use a jdk6 compatible DateFormat for java.util.Date
2016-10-11 00:42:52 +08:00
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
Stas Shakirov
26faf6cf4e
remove newline char in *.mustache; added generated code
2016-10-10 14:42:08 +03: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
8db0ec8b73
fix pom duplicated id issue
2016-10-05 22:55:01 +08:00
wing328
c915f8ecdc
update pom to test java okhttp-gson parcelable models
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
Kamil
9301db60e6
redundant quotation mark ( #3837 )
...
* Removed redundant quotation mark
This additional quotation mark is causing problems in out project and should be removed.
ngrep output:
```
Content-Disposition: form-data; name="file"; filename="file""
..Content-Transfer-Encoding: binary..Content-Type: image/jpg..Content-Length: 27855..........JFIF....
```
* updated petstore sample
* removed line break
2016-09-23 18:33:27 +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
wing328
fb3b91550c
add back test cases for java jersey1 client
2016-09-06 18:51:28 +08: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
wing328
2943177d06
Merge branch 'kartenkarsten-patch-1'
2016-08-12 15:37:46 +08:00
wing328
1c9c2eb09c
update java jersey1 sample
2016-08-12 15:37:31 +08:00
wing328
621dee30a8
Merge branch 'patch-1' of https://github.com/kartenkarsten/swagger-codegen into kartenkarsten-patch-1
2016-08-12 15:33:02 +08:00
Karsten Hinz
58f00efcc3
sample update
2016-08-09 15:09:48 +02:00
wing328
453f80a1d3
add new java client files
2016-08-09 18:59:59 +08:00