Skip to content

[OpenAPI 3] Consider remove the constraint that has no impact to the schema #6320

Open
@albertxavier100

Description

@albertxavier100

Although the generated document correct, it can be simpler.
e.g.

        - type: string
          minimum: 1
          nullable: true

minimum: 1 only applys to number, it's safe to remove it when the type is not number. Should be low priority.

Playground

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions