Skip to content

Query Parameter missing in swift 3 export #4536

@Vario

Description

@Vario
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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions