Commit Graph

110 Commits

Author SHA1 Message Date
cbornet
b7f2b28534 [resteasy] configure jackson to use rfc3339 dates 2016-09-14 17:37:04 +02:00
wing328
4f0f128ddb fix enum value issue for jaxrs cxf 2016-09-08 17:30:20 +08:00
wing328
4e20bd9bab [Java][Spring][Inflector][Jax-RS] To fix various enum issues (#3615)
* fix spring enum deserialization issue

* fix enum class for spring

* update java inflector to fix enum tostring

* fix jaxrs jersey1 enum toString

* fix jaxrs jersey patch issue
2016-08-20 17:54:45 +08:00
Nekrasov Aleksander
91675c97e2 Fix resteasy offsetdatetime provier (#3332)
* Fix offsetDateTime and remove unnecessary override annotations

* Update petstore samples to CI for resteasy testing

* fix resteasy templates path

* add ability to hide generated annotations

* Update petstore resteasy samples

* Deduplicate artifact names in resteasy projects
2016-08-15 23:46:52 +08:00
rynger
3faee1f6ce Amending Path annotation (#3553)
* Amending Path annotation

Changed the Path annotation value from "/" to "/{{baseName}}"

* jaxrs-cxf-petstore-server.sh script was not referencing cxf module directory. Included generated files following script run. Have amended Path annotation value to {{contextPath}} and removed public access modifier from template as this is redundant for Java interface definition.
2016-08-09 12:09:07 +08:00
wing328
811b5940eb update jaxrs with better test, fix enum issue, patch operation 2016-08-03 01:36:34 +08:00
cbornet
34d3a5e8d0 make jersey tests wait that jetty is closed before terminating 2016-07-18 23:21:12 +02:00
Tony Tam
c49db091ef updated versions for release 2016-07-15 13:45:22 -07:00
tao
638319db09 add DefaultParam annotation 2016-07-07 11:45:22 -07:00
wing328
4d76dd24eb Merge branch 'master' of https://github.com/jencodingatwork/swagger-codegen into jencodingatwork-master
Conflicts:
	modules/swagger-codegen/src/main/resources/JavaJaxRS/formParams.mustache
2016-07-07 11:34:36 +08:00
tao
62d06f75b4 use baseName instead of paramName 2016-07-06 10:41:57 -07:00
jencodingatwork
c3a9d6c9c3 Modified JavaJaxrs resources to fix duplicated variable names. See issue
#3300 for full description.
2016-07-05 12:36:08 -04:00
wing328
e2e0af1e6c Merge branch 'master' of https://github.com/arturdzm/swagger-codegen into arturdzm-master
Conflicts:
	README.md
2016-07-02 17:00:21 +08:00
wing328
691957875e Merge pull request #3185 from cbornet/common_jersey
[Jax-rs][jersey] Mutualize jersey 1 and jersey 2 templates
2016-07-02 11:19:40 +08:00
Alex
0506b4ab76 Fix joda dependency in resteasy gradle file 2016-06-22 01:10:48 +06:00
cbornet
5a489f334e mutualize jersey 1 and 2 server templates 2016-06-20 22:59:32 +02:00
cbornet
6c5def6936 fix missing java client library files 2016-06-20 10:32:02 +02:00
Remi Salembier
799b27b249 Fix Java CXF on parameter names containing '_' or '-' 2016-06-16 16:18:01 +02:00
cbornet
5fd948f234 use OffsetDateTime instead of LocalDateTime
Fix #2138
2016-06-08 10:18:49 +02:00
Artur Dzmitryieu
2bbe26b41a Add new jax-rs language that uses only 2.0 spec API's 2016-06-03 15:52:46 -04:00
wing328
23d2c56096 [JAX-RS] fix library setting "jersey2" (#3016)
* to fix #2981

* update sample, update ci to include jaxrs (jersey1, 2)

* avoid duplicated artifactId in pom (jaxrs jersey1)

* update jetty dependency for jersey1 jaxrs

* update bin to set proper artifact-id

* fix jersey1 jaxrs pom.xml

* fix dependency in jaxrs jersey2 pom

* downgrade jetty plugin to 9.3.0.v20150612

* update petstore sample for jaxrs jersey 1

* restore jetty to previous version. update test order

* downgrade jetty maven plugin version

* restore original version of jetty plugin
2016-06-02 14:33:08 +08:00
wing328
c6f03806df Replaced {{mediaType}} with {{{mediaType}} to keep the original media 2016-05-20 17:48:47 +08:00
wing328
6e8a19bc5b fix enum for jaxrs and resteasy 2016-05-03 11:20:45 +08:00
oskar
d45d36d8a2 Fixing broken enumeration swagger/json types for JaxRS-CXF templates. 2016-04-06 21:51:17 +02:00
Tony Tam
ee08d16ae5 made timestamp generation enabled by default 2016-04-03 14:36:23 -06:00
Tony Tam
aab280d564 made generation timestamp optional 2016-04-03 13:31:39 -06:00
Tony Tam
4bb12871c3 added bootstrap, renamed sample 2016-04-02 18:34:58 -06:00
Tony Tam
63d2784bbf added bootstrap 2016-04-02 08:25:12 -06:00
Tony Tam
4acedffffb updated templates 2016-03-31 18:19:49 -06:00
Tony Tam
d16ae16551 updated versions 2016-03-29 23:46:36 -07:00
Kosta Krauth
a07eb3bb14 Missing multipart (form data) imports.
Swagger files that declare "in: formData" parameters will result in API class that cannot be compiled due to the usage of "@Multipart" annotations in method signatures.
2016-03-19 14:12:24 -04:00
wing328
ab41214f06 fix error with resteasy 2016-03-16 14:26:03 +08:00
Krisztian Kocsis
792365abcb Fix invalid variable type in RESTEasy's LocalDateTimeProvider template. 2016-03-09 14:38:19 +01:00
Maelig Nantel
081c29c984 fix sample generation 2016-03-01 11:25:29 +01:00
Maelig Nantel
37e62b89bc Fixes for JAXRS-CXF Codegen 2016-02-26 10:56:26 +01:00
Tony Tam
ab5ca625c1 added example property 2016-02-10 15:28:00 -08:00
Tony Tam
3282c1f325 formatting 2016-02-10 14:42:28 -08:00
Tony Tam
5e80b61e3e updated swagger-core versions 2016-02-04 18:02:19 -08:00
wing328
aac1b259a7 Merge pull request #2021 from chameleon82/feature/jaxrs-resteasy
Feature/jaxrs resteasy
2016-02-04 17:56:06 +08:00
Alex
d2a3492dd1 Add bin/jaxrs-resteasy-petstore-server.sh
Add sample into samples/petstore/jaxrs-resteasy
Update multipart/form-data ability
2016-02-04 01:01:28 +06:00
Alex
d98063083b Rename folder resteasy3_0_11 to resteasy 2016-02-03 20:56:18 +06:00
Alex
af2c66cb97 Update maven and gradle project definition 2016-02-02 21:56:42 +06:00
Alex
40400e3657 update supporting JodaTime and Java8 DateTime 2016-02-02 00:27:08 +06:00
Alex
62b692da1d fix jboss context-root 2016-02-01 20:30:49 +06:00
Nick Maynard
e29cf209c8 Only define @DefaultValue if it's specified in the swagger spec 2016-01-31 21:02:11 +00:00
chameleon82
46441433e8 initialize commit JaxRS-Resteasy module 2016-01-29 17:48:22 +06:00
wing328
2046580d41 update based on discussion on
https://github.com/swagger-api/swagger-codegen/pull/1967/files#r50697083
2016-01-26 15:23:50 +08:00
Maelig Nantel
f3659f88a8 Work almost finish
Aask @wing328 if the modificatgion in the DefaultGenerator class is a
problem. If needed, find a way to do it only for the CXF Codegen.
TODO: Maybe create an abstract JAX-RS Codegen and make Jersey & CXF
extends it ? CXF should not extends Jersey since there at two different
frameworks implementing the JAX-RS specification.
Important: nothing is tested yet, only visual checks during Maven build.
2016-01-25 00:49:07 +08:00
Maelig Nantel
44c1e27680 Add mustache template files for Apache CXF support
probably not the final version of the templates
2016-01-25 00:46:02 +08:00
Maelig Nantel
8005931e5a Corrent issue 1885
Handle the Swagger "default" value for a parameter with the JAX-RS
@DefaultValue annotation. This correction will also be reported in the
new JAX-RS CXF Codegen.
2016-01-15 16:49:36 +01:00