wing328
2b1a63a7de
Merge pull request #1150 from ePaul/bugfix/1146-escape-line-breaks-in-response-description
...
jaxrs: escape line breaks in response description
2015-09-08 21:38:50 +08:00
Paul Ebermann
74bffbaadb
Issue #1146 : fix indentation in the generated API file.
2015-08-28 19:41:32 +02:00
Paul Ebermann
be84f03d14
Issue #1146 : do not escape newlines in generated javadocs.
...
For this, we add a property `unescapedDescription` to CodegenModel + CodegenProperty, and use them for the Javadoc generation, while the annotation uses the escaped `description`.
2015-08-28 18:40:14 +02:00
Tony Tam
7c2310a13f
updated to jersey 1.18.1, fixes for #1115
2015-08-23 23:34:35 -07:00
Tony Tam
d51fe80138
Revert "fixed generated code to go to target/generated-sources, added maven-c…"
2015-08-23 18:28:42 -07:00
Ole Lensmar
e253fdea33
Merge branches 'develop_2.0' and 'jaxrs-server-codegen-improvements' of https://github.com/swagger-api/swagger-codegen into jaxrs-server-codegen-improvements
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java
2015-08-23 10:26:07 -04:00
russellb337
6fbb8ab1e0
add @Generated annotation to all Java class templates
2015-08-11 12:42:06 -07:00
Ole Lensmar
9c3fad3040
fixed generated code to go to target/generated-sources, added maven-codegen-plugin to generated jaxrs project together with initial swagger definition, fixed overwrite flag to kick in only if file exists, fixed initial readme
2015-07-28 14:40:43 -07:00
wing328
29c41adddf
rollback java jxrs template
2015-06-09 13:11:16 +08:00
Ron
1c2d0656b0
Code reformatting
2015-06-07 11:56:08 -04:00
Tony Tam
6c57810128
rebuilt
2015-06-07 00:08:01 -07:00
Tony Tam
8c340d52a4
updated packages
2015-06-06 23:58:36 -07:00
Tony Tam
0c1657d744
updated package
2015-06-06 23:43:34 -07:00
rlo2014
e93a377982
Removing comment (// do some magic!) that is no longer necessary and confusing. After olensmar refactor of jax-rs codegen, magic/implementation should be placed in the delegate/implementation as opposed to the api itself. Any logic put in api itself will be overwritten with the next code gen, whereas the delegate implemenation will remain intact.
2015-05-27 14:55:28 -07:00
Tony Tam
0c3f7a54cd
Merge pull request #770 from swagger-api/jaxrs-interface-generation
...
Jaxrs interface generation
2015-05-20 22:52:00 -07:00
Tony Tam
11dd7784f8
rebuilt
2015-05-20 22:20:51 -07:00
Tony Tam
fd928a3d16
merged
2015-05-20 22:16:24 -07:00
Ole Lensmar
17d8d14cc8
defaulted sources to go to src/gen/main and added possibility to set impl folder via system property at command-line
2015-05-20 16:49:50 -06:00
Ole Lensmar
adcd0f4bb8
changed interface to abstract class instead so we can use Override annotation to warn if we get dead methods when the definitions changes
2015-05-13 15:58:20 -07:00
Ole Lensmar
75b39e812e
refactored to create separate serviceinterface, implementation and corresponding factory. JaxRs class uses the factory to find the implementation. Also fixed possibility for a code generator to control which API files that should be overwritten
2015-05-12 13:18:35 -04:00
Tony Tam
e703fc7982
fixed version
2015-05-12 06:03:37 -04:00
russellb337
2edfb96c36
swagger codegen should honor global mime types
2015-05-07 12:02:25 -07:00
Tony Tam
e1a3540caf
fixed version
2015-04-08 05:00:10 -06:00
Tony Tam
ba2ccf788c
name rebuilds, tests
2015-04-04 17:00:22 -07:00
Tony Tam
5e83b6602e
updated templates for baseName
2015-03-29 20:49:51 -07:00
Tony Tam
fd72ff56bf
fixed context path
2015-03-16 20:54:01 -07:00
Tony Tam
05297e05a5
made annotations FQ to avoid collisions
2015-02-24 21:12:08 -08:00
Tony Tam
1a0d2d19f5
updated template
2015-02-24 18:07:13 -08:00
Tony Tam
026c93a104
fixed models
2015-02-16 18:03:15 -08:00
Tony Tam
a6744507ef
updated version
2015-02-14 17:49:10 -08:00
Tony Tam
241c69fef7
updated templates
2015-02-12 22:24:04 -08:00
Tony Tam
f7c6810757
updated samples
2015-02-05 11:35:13 -08:00
Tony Tam
6bb2e4ccb4
moved to modules per #411
2015-02-05 07:17:38 -08:00