diff --git a/lib/codegen/dart/pkg_http.dart b/lib/codegen/dart/pkg_http.dart index b60eba49..a56ab2c3 100644 --- a/lib/codegen/dart/pkg_http.dart +++ b/lib/codegen/dart/pkg_http.dart @@ -80,8 +80,8 @@ void main() async { if (!url.contains("://") && url.isNotEmpty) { url = "$defaultUriScheme://$url"; } - var templateUrl = jj.Template(kTemplateStart); - result += templateUrl.render({"url": url}); + var templateStartUrl = jj.Template(kTemplateStart); + result += templateStartUrl.render({"url": url}); var paramsList = requestModel.requestParams; if (paramsList != null) {