Skip to content

Commit e93a377

Browse files
committed
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.
1 parent 095771d commit e93a377

File tree

1 file changed

+0
-1
lines changed
  • modules/swagger-codegen/src/main/resources/JavaJaxRS

1 file changed

+0
-1
lines changed

modules/swagger-codegen/src/main/resources/JavaJaxRS/api.mustache

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public class {{classname}} {
4444
public Response {{nickname}}({{#allParams}}{{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{#hasMore}},
4545
{{/hasMore}}{{/allParams}})
4646
throws NotFoundException {
47-
// do some magic!
4847
return delegate.{{nickname}}({{#allParams}}{{#isFile}}fileDetail{{/isFile}}{{^isFile}}{{paramName}}{{/isFile}}{{#hasMore}},{{/hasMore}}{{/allParams}});
4948
}
5049
{{/operation}}

0 commit comments

Comments
 (0)