Skip to content

Error on header value of empty string when it isn't required #954

@renom

Description

@renom
  1. Header param isn't required in openapi spec.
  2. Header value is set but the value is empty string.
  3. Generated code reports an error Invalid format for parameter <param_name>: parameter '<param_name>' is empty, can't bind its value because of this code in BindStyledParameterWithLocation.

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