fixed return type, rebuilt

This commit is contained in:
Tony Tam
2015-08-23 14:23:00 -07:00
parent cc7366787f
commit 414de00894
20 changed files with 38 additions and 19 deletions

View File

@@ -42,11 +42,11 @@ public class {{classname}} {
{{#hasProduces}}produces = { {{#produces}}"{{mediaType}}"{{#hasMore}}, {{/hasMore}}{{/produces}} }, {{/hasProduces}}
{{#hasConsumes}}consumes = { {{#consumes}}"{{mediaType}}"{{#hasMore}}, {{/hasMore}}{{/consumes}} },{{/hasConsumes}}
method = RequestMethod.{{httpMethod}})
public ResponseEntity<{{returnType}}> {{nickname}}({{#allParams}}{{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{#hasMore}},
public ResponseEntity<{{>returnTypes}}> {{nickname}}({{#allParams}}{{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{#hasMore}},
{{/hasMore}}{{/allParams}})
throws NotFoundException {
// do some magic!
return new ResponseEntity<{{returnType}}>(HttpStatus.OK);
return new ResponseEntity<{{>returnTypes}}>(HttpStatus.OK);
}
{{/operation}}

View File

@@ -150,7 +150,7 @@
</repository>
</repositories>
<properties>
<swagger-core-version>1.5.0</swagger-core-version>
<swagger-core-version>1.5.3</swagger-core-version>
<jetty-version>9.2.9.v20150224</jetty-version>
<jersey-version>1.13</jersey-version>
<slf4j-version>1.6.3</slf4j-version>