mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
Make the generated API controller code compile.
This commit is contained in:
parent
057647cf1e
commit
4d298602ea
@ -49,7 +49,7 @@ import java.util.concurrent.Callable;
|
||||
@RequestMapping("${openapi.<%title%>.base-path:<%>defaultBasePath%>}")
|
||||
<%={{ }}=%>
|
||||
{{#operations}}
|
||||
public class {{classname}}Controller implements {{classname}} {
|
||||
public {{^jdk8-default-interface}}abstract {{/jdk8-default-interface}}class {{classname}}Controller implements {{classname}} {
|
||||
{{#isDelegate}}
|
||||
|
||||
private final {{classname}}Delegate delegate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user