Merge pull request #1614 from xhh/auto-generate-operation-id

Auto generate operationId for python-flask server codegen
This commit is contained in:
wing328
2015-12-01 17:58:08 +08:00
19 changed files with 108 additions and 99 deletions

View File

@@ -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" );
}
*/