forked from loafle/openapi-generator-original
Merge pull request #1614 from xhh/auto-generate-operation-id
Auto generate operationId for python-flask server codegen
This commit is contained in:
@@ -24,7 +24,7 @@ public class {{classname}} {
|
||||
|
||||
{{#operation}}
|
||||
/*
|
||||
public ResponseContext {{nickname}}(RequestContext request {{#allParams}}, {{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{/allParams}}) {
|
||||
public ResponseContext {{operationId}}(RequestContext request {{#allParams}}, {{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{/allParams}}) {
|
||||
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
|
||||
}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user