mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-05 15:36:09 +00:00
fixed encoding (#21207)
This commit is contained in:
@@ -142,7 +142,7 @@ namespace Org.OpenAPITools.Client
|
||||
{
|
||||
#if (NETCOREAPP)
|
||||
string framework = RuntimeInformation.FrameworkDescription;
|
||||
string key = framework.StartsWith(".NET 9")?parameter.Key:HttpUtility.UrlEncode(parameter.Key);
|
||||
string key = framework.StartsWith(".NET 9") ? parameter.Key : HttpUtility.UrlEncode(parameter.Key);
|
||||
if (parameter.Value.Count > 1)
|
||||
{ // array
|
||||
foreach (var value in parameter.Value)
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace Org.OpenAPITools.Client
|
||||
{
|
||||
#if (NETCOREAPP)
|
||||
string framework = RuntimeInformation.FrameworkDescription;
|
||||
string key = framework.StartsWith(".NET 9")?parameter.Key:HttpUtility.UrlEncode(parameter.Key);
|
||||
string key = framework.StartsWith(".NET 9") ? parameter.Key : parameter.Key;
|
||||
if (parameter.Value.Count > 1)
|
||||
{ // array
|
||||
foreach (var value in parameter.Value)
|
||||
|
||||
Reference in New Issue
Block a user