mirror of
https://github.com/foss42/apidash.git
synced 2025-05-22 16:57:07 +08:00
Added appropriate tests for the new codegen.
This commit is contained in:
@ -49,7 +49,7 @@ print(data.decode("utf-8"))
|
||||
result += "?";
|
||||
for (final queryParam in requestModel.requestParams!) {
|
||||
result +=
|
||||
"${queryParam.k.replaceAll(" ", "%20")}=${queryParam.v.replaceAll(" ", "%20")}&";
|
||||
"${queryParam.k.toString().replaceAll(" ", "%20")}=${queryParam.v.toString().replaceAll(" ", "%20")}&";
|
||||
}
|
||||
return result.substring(0, result.length - 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user