-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Milestone
Description
Description
We have a swagger definition with a PUT Request which contains a Body DTO with properties to update, header parameters and path parameters and one query parameter.
the parameter is in the method definition updateXXXUsingPUTWithRequestBuilder but it is not used in the code and not appended to the url..
Swagger-codegen version
2.2.2
Steps to reproduce
i assume, generating a PUT request with body, header, path and query parameters with swift 3 template
in the generated code there is this part missing
var path = "//path**?queryparametername={queryparametervalue}**"
path = path.replacingOccurrences(of: "{queryparametervalue}", with: "(queryparametervalue)", options: .literal, range: nil)