Skip to content

[Schema Inaccuracy] Type boolean should not have an enum with true/false #3927

Open
@hfhbd

Description

@hfhbd

Schema Inaccuracy

Some boolean types have an enum with true and false, but by definition of boolean, the value can only be true or false, and there is no option to have other values.

Expected

Reproduction Steps

Check your api with this regex: "enum": \[\s*true and "enum": \[\s*false.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions