Kevin Locke
df0c54d043
Support the empty string as an enumeration value ( #4450 )
...
When a string enumeration has the empty string as one of its available
values, the generated code for many languages is invalid because the
empty string can not be used as an identifier. As with numbers and
symbols, provide a mapping to an English name which can be used as a
replacement. In this case, "empty" for the empty string/empty value.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2017-01-06 19:30:47 +08:00
wing328
131cbeb350
remove generation timestamp
2016-12-15 19:34:15 +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
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
Ville Skyttä
0363858672
java: Javadoc fixes
2016-09-01 18:07:35 +03:00
wing328
453f80a1d3
add new java client files
2016-08-09 18:59:59 +08:00
wing328
817a78e3a7
minor indentation fix for java enum models
2016-08-09 16:50:21 +08:00
wing328
d8cdcbf042
fix jsoncreator annotation issue with java api clients using gson
2016-08-08 00:16:12 +08:00
Kvezon
ef526422e9
Support byte[] downloading in Java jersey2 client
2016-08-01 16:33:58 +03:00
cbornet
3b4465d999
add fluent methods to add items to list and put items to maps
2016-07-27 18:18:48 +02:00
wing328
b8f6667f00
Merge pull request #3329 from ant3/JSR310-Clients
...
[Java] Add support for JSR310 in Jersey Clients (v4)
2016-07-19 17:40:02 +08:00
cbornet
421c462ba9
set supportInheritance to true for java based gens
2016-07-18 16:33:20 +02:00
wing328
9e0c865c08
update java petstore sample
2016-07-15 17:45:06 +08:00
Bochun Bai
f75a42f810
Remove more Java String comparison using "=="
2016-07-13 18:06:45 +08:00
ant3
bf8e1ade56
Added tests to jersey2-java8 sample
...
These are the tests from the jersey2 sample - but adapted to use the
java8 time classes (rather than Joda time).
2016-07-09 11:31:25 +01:00
ant3
1ea80ab83a
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-07-08 23:54:14 +01:00
ant3
836aed999e
Merge remote-tracking branch 'refs/remotes/origin/master' into JSR310-Clients
2016-07-08 23:00:04 +01:00
wing328
c5cc0bbb2a
fix issue with java feign client
2016-07-07 15:53:17 +08:00
wing328
d4f9eefa94
update java-petstore-all.sh and regenerate all java petstore sample
2016-07-07 15:53:17 +08:00
ant3
b107b4693d
Rebuilt jersey2-java8 sample
2016-06-21 00:15:34 +01:00
ant3
e40ad8ce3c
Added sample build for Java8 Jersey2 client
2016-06-20 23:10:01 +01:00