Skip to content

support OpenAPI 3.0 nullable: true #20

Description

@tdakkota

Nullability is derived only from type: [T, "null"]. OpenAPI 3.0 spells it nullable: true alongside a scalar type, and ogen supports 3.0 documents (jsonschema.Schema.Nullable).

Either handle it in the frontend converter or in the schema-aware pre-pass proposed in #1, where the other legacy-draft spellings are already scoped. Worth deciding which, since #1 currently owns the "legacy spelling" adaptation strategy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions