-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Milestone
Description
Description
we are getting "C# code gen api path encoding problem". We have composite key in model.
API Path in swagger json: /Resources(City='{City}',State='{State}')
API Path in c# gen Api file: /Resources(City= ;' ;{City}' ;,State= ;' ;{State}' ;)
= --> "= ;"
' --> "' ;"
we are getting error in below code gen file
https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/csharp/api.mustache
var localVarPath = "{{path}}";
Swagger-codegen version
Swagger Editor
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues
Suggest a Fix
In java client codegen file showing correct but in C# client codegen file api path is encoding.
We want same behaviour as java client.