fix (partially) #4898 for dart. (#5019)

This commit is contained in:
Paŭlo Ebermann 2017-03-12 10:08:48 +01:00 committed by wing328
parent 39eba39625
commit c76f006067

View File

@ -25,7 +25,7 @@ class {{classname}} {
{{/allParams}}
// create path and map variables
String path = "{{path}}".replaceAll("{format}","json"){{#pathParams}}.replaceAll("{" + "{{paramName}}" + "}", {{{paramName}}}.toString()){{/pathParams}};
String path = "{{path}}".replaceAll("{format}","json"){{#pathParams}}.replaceAll("{" + "{{baseName}}" + "}", {{{paramName}}}.toString()){{/pathParams}};
// query params
List<QueryParam> queryParams = [];