Skip to content

OpenAPI 3: "attribute does not allow null values" in ResponseValidation #392

@aaron-collier

Description

@aaron-collier

I have a property in a response defined as:

        filename:
          nullable: true
          type: string

but when empty:

{"id":"invalid_response","message":"...properties/filename does not allow null values"}

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