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
Tony Tam
bade71c6ba
merged
2015-10-20 10:59:20 -07:00
Tony Tam
555fd54fbb
updated swagger-core versions
2015-10-19 22:09:33 -07:00
Nick Bruno
6cc17d8508
Add authorization scope data to CodegenSecurity, demo use in JAXRS
2015-10-14 22:07:43 -04:00
wing328
3b36bbe97d
Update README.mustache
2015-10-06 18:39:44 +08:00
Paul Ebermann
7eec769654
Use the swagger property names in all Java models.
...
This changes `@JsonProperty({{name}})` to `@JsonProperty({{baseName}})` in model.mustache for JavaInflector, JavaJaxRS and JavaSpringMVC.
In pull request #535 this was already done for the plain Java files (which get used on client side).
This replaces the sanitized names in the generated code by the original property names from the swagger document.
2015-09-16 11:36:51 +02:00
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