Skip to content

Fix for #3620 - .NET Client generation - Query string dictionary is missing property name#5066

Open
claudiunicola wants to merge 2 commits intoRicoSuter:masterfrom
claudiunicola:patch-1
Open

Fix for #3620 - .NET Client generation - Query string dictionary is missing property name#5066
claudiunicola wants to merge 2 commits intoRicoSuter:masterfrom
claudiunicola:patch-1

Conversation

@claudiunicola
Copy link
Copy Markdown

This is a fix for #3620: Query string dictionary is missing property name

Proposed solution:
Prepended property name for dictionary keys, in src/NSwag.CodeGeneration.CSharp/Templates/Client.Class.QueryParameter.liquid

Before:
?key1=value1&key2=value2

After:
?propertyDictName.key1=value1&propertyDictName.key2=value2

Prepended property name for dictionary keys

Before:
?key1=value1&key2=value2

After:
?propertyDictName.key1=value1&propertyDictName.key2=value2
@Rasmus715
Copy link
Copy Markdown

@RicoSuter bump!
Please take a look :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants