File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
modules/swagger-codegen/src/main/resources/JavaSpring Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public interface {{classname}} {
104
104
produces = { {{#produces} }"{ {{mediaType} }}"{ {#hasMore} }, { {/hasMore} }{ {/produces} } }, { {/hasProduces} }{ {#hasConsumes} }
105
105
consumes = { {{#consumes} }"{ {{mediaType} }}"{ {#hasMore} }, { {/hasMore} }{ {/consumes} } },{ {/hasConsumes} }{ {/singleContentTypes} }
106
106
method = RequestMethod.{ {httpMethod} })
107
- { {#jdk8} }{ {#defaultInterfaces} }default { {/defaultInterfaces} }{ {/jdk8} }{ {#responseWrapper} }{ {.} }<{ {/responseWrapper} }ResponseEntity<{ {> returnTypes} }>{ {#responseWrapper} }>{ {/responseWrapper} } { {#delegate-method} }_{ {/delegate-method} }{ {operationId} }({ {#allParams} }{ {> queryParams} }{ {> pathParams} }{ {> headerParams} }{ {> bodyParams} }{ {> formParams} }{ {#hasMore} },{ {/hasMore} }{ {/allParams} }){ {^ jdk8} }; { {/jdk8 } } { {#jdk8 } }{ {#defaultInterfaces} } {
107
+ { {#jdk8} }{ {#defaultInterfaces} }default { {/defaultInterfaces} }{ {/jdk8} }{ {#responseWrapper} }{ {.} }<{ {/responseWrapper} }ResponseEntity<{ {> returnTypes} }>{ {#responseWrapper} }>{ {/responseWrapper} } { {#delegate-method} }_{ {/delegate-method} }{ {operationId} }({ {#allParams} }{ {> queryParams} }{ {> pathParams} }{ {> headerParams} }{ {> bodyParams} }{ {> formParams} }{ {#hasMore} },{ {/hasMore} }{ {/allParams} }){ {# jdk8} }{ {^defaultInterfaces } }; { {/defaultInterfaces } }{ {#defaultInterfaces} } {
108
108
{{#delegate-method} }
109
109
return { {operationId} }({ {#allParams} }{ {paramName} }{ {#hasMore} }, { {/hasMore} }{ {/allParams} });
110
110
}
You can’t perform that action at this time.
0 commit comments