Skip to content

Swagger UI - Blank parameter input results in paramter being ommited from URL #81

Closed
@caroseuk

Description

@caroseuk

When using swagger-ui to query an API, if you supply a blank parameter, the parameter is not included in the API query URI.

Currently when querying API with a blank parameter "query=":
http://api.server.com/REST/?query2=text&query3=text

Is it possible to make this configurable, so that if the parameter is provided as blank the URL still contains the blank parameter:
http://api.server.com/REST/query=&query2=text&query3=text

Spoke to Tonytam on IRC who advised me to raise this as a bug

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions