Skip to content

OpenApi specification: strucural error on null types #429

@hideintheclouds

Description

@hideintheclouds

According to the OpenApi specification 3.0.0, the null type is not supported.
Instead, the nullable attribute should be used: see:
https://swagger.io/docs/specification/data-models/data-types/

This issue is present in the OpenApi specification when defining a 200 successful response:
"responses": { "200": { "description": "", "content": { "application/json": { "schema": { "type": "null" } } } },

The following operations are impacted:

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