Skip to content

Data type Boolean renders empty droplist #279

@stusta

Description

@stusta

Using the latest from the develop-2.0 branch (commit b2637fc), I've found these problems with parameters with a data type of boolean and a parameter type of form (Content-Type is application/x-www-form-urlencoded):

  • They are rendered with a list with no values in it.
  • When I tried setting booleanValues to an array of 0,1, I found that swagger.js wasn't setting a booleanValues property on SwaggerAPI. Once I hacked that, values were rendered in the list. But when I POSTed it, the field wasn't submitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions