mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-17 00:21:19 +00:00
changed default behavior for inflector to have unimplemented handlers
This commit is contained in:
@@ -16,10 +16,18 @@ import {{modelPackage}}.*;
|
||||
{{>generatedAnnotation}}
|
||||
{{#operations}}
|
||||
public class {{classname}} {
|
||||
/**
|
||||
* Uncomment and implement as you see fit. These operations will map
|
||||
* Direclty to operation calls from the routing logic. Because the inflector
|
||||
* Code allows you to implement logic incrementally, they are disabled.
|
||||
**/
|
||||
|
||||
{{#operation}}
|
||||
/*
|
||||
public ResponseContext {{nickname}}(RequestContext request {{#allParams}}, {{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{/allParams}}) {
|
||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||
}
|
||||
*/
|
||||
|
||||
{{/operation}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user