Skip to content

OpenAPI 3.0 and nullable not tested #787

@Relequestual

Description

@Relequestual

I was looking at... something else, and noticed OAD 3.0 with nullable defined.
The OAD is used in a project that uses openapi-backend.
I wonderd how validation was working.
I noticed it uses ajv.

I know ajv isn't capable of correctly validating OpenAPI 3.0. It is not OpenAPI aware.

One specific issue is nullable differs from OAS 3.0 to 3.1.

Looking at the tests, nullability is being tested for 3.1, but not 3.0.

It looks like validation for OpenAPI 3.0 isn't tested at all.

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