You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with a vendor's swagger in which someone thought it would be great to create parameters representing object hierarchy using semicolons. In short think query string parameters names customer:firstname, customer.lastnname, customer.favcolor. This results in C# code where variables names are rendered as
string customer:firstname,
string customer.lastname,
string customer.favcolor
none of which are valid in C#. The request is to update the code generation for C# variables to replace special characters with something valid like an underscore. Honestly it doesn't matter what the replacement character is as long as the C# variable is the same everywhere.
The text was updated successfully, but these errors were encountered:
I'm working with a vendor's swagger in which someone thought it would be great to create parameters representing object hierarchy using semicolons. In short think query string parameters names customer:firstname, customer.lastnname, customer.favcolor. This results in C# code where variables names are rendered as
string customer:firstname,
string customer.lastname,
string customer.favcolor
none of which are valid in C#. The request is to update the code generation for C# variables to replace special characters with something valid like an underscore. Honestly it doesn't matter what the replacement character is as long as the C# variable is the same everywhere.
The text was updated successfully, but these errors were encountered: