Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Supporting null as valid values in validation #228

@hhp21

Description

@hhp21

As per OAI/OpenAPI-Specification#229, it seems like the current 2.0 spec doesn't have a way to let you specify whether you allow nulls as valid values. There are valid use cases either way but right now it seems that all null values will fail validation.

Any possibility to add support for this in swagger tools, with/without support from spec?

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