Commit Graph

88 Commits

Author SHA1 Message Date
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
Scott Williams
e01cde8010 Fix for Jaxrs file upload service class missing param 2016-01-13 15:18:33 +00:00
wing328
5a74370180 fix import for java server templates 2016-01-05 15:02:18 +08:00
Tony Tam
88fab0b85f Merge branch 'master' into issue-1789 2015-12-30 15:06:54 -08:00
Ron
9a54371ca9 Swagger Spec -> OpenAPI Spec 2015-12-30 14:52:15 -08:00
Tony Tam
adb3795a44 formatting 2015-12-30 14:51:43 -08:00
Tony Tam
9ca914f769 updated jaxrs generator pojos 2015-12-30 14:20:52 -08:00
Tony Tam
05b0d8f1bf added serverPort 2015-12-30 00:06:24 -08:00
Tony Tam
29f928d644 prepare for multiple jaxrs libraries 2015-12-29 23:28:31 -08:00
Nick Maynard
f9185c3f6f JAXRS server :: Inject SecurityContext into every operation 2015-12-01 23:36:43 +08:00
xhh
2c6c902878 Merge branch 'master' into auto-generate-operation-id
Conflicts:
	modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/api.mustache
2015-11-30 21:05:47 +08:00
xhh
801efaa3d4 Replace "nickname" with "operationId" in some API templates 2015-11-25 18:13:39 +08:00
xhh
76fe8357ce Add "equals" and "hashCode" methods to Java servers
for "jaxrs" and "spring-mvc"
2015-11-24 15:46:42 +08:00
Tony Tam
bbb7fb5abc updated readme, base path 2015-11-23 14:27:22 -10:00
Tony Tam
be0232fa35 moved tags to extension to avoid path collisions #1518 2015-11-05 22:26:49 -08:00
Tony Tam
b30cbd9261 correctly set host 2015-11-05 18:52:23 -08:00
Tony Tam
c4b2f210be fixed context path 2015-11-05 18:49:11 -08:00
wing328
28521b34f2 Merge pull request #1439 from wing328/fix_jaxrs_path
[JAXRS] fix Jax-RS path with basePath
2015-10-27 11:57:55 +08:00
wing328
dd8ae250b2 Merge pull request #1433 from iushankin/allowableValues-fix
Fix for allowable values in the Mustache template
2015-10-27 11:04:42 +08:00
wing328
cc7105b5d8 fix jarxs path with basepath 2015-10-26 18:00:15 +08:00
Tony Tam
dd3b253e15 updated versions 2015-10-25 19:31:36 -07:00
Tony Tam
3969a9f294 fix for #925 2015-10-25 17:02:08 -07:00
Ivan Ushankin
c6946a36c4 Fix for allowable values in the Mustache template 2015-10-23 15:49:51 +03:00