Skip to content

Commit c76f006

Browse files
ePaulwing328
authored andcommitted
fix (partially) #4898 for dart. (#5019)
1 parent 39eba39 commit c76f006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/dart/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class {{classname}} {
2525
{{/allParams}}
2626

2727
// create path and map variables
28-
String path = "{{path}}".replaceAll("{format}","json"){{#pathParams}}.replaceAll("{" + "{{paramName}}" + "}", {{{paramName}}}.toString()){{/pathParams}};
28+
String path = "{{path}}".replaceAll("{format}","json"){{#pathParams}}.replaceAll("{" + "{{baseName}}" + "}", {{{paramName}}}.toString()){{/pathParams}};
2929

3030
// query params
3131
List<QueryParam> queryParams = [];

0 commit comments

Comments
 (0)