mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 11:22:44 +00:00
Merge pull request #992 from who/develop_2.0
[C#] Fixing a mono compilation error
This commit is contained in:
@@ -154,7 +154,7 @@ namespace IO.Swagger.Client
|
||||
/// <returns>Escaped string.</returns>
|
||||
public string EscapeString(string str)
|
||||
{
|
||||
return HttpUtility.UrlEncode(str);
|
||||
return RestSharp.Contrib.HttpUtility.UrlEncode(str);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user