OpenApiV3_1 contains TypeScript type definitions for raw OpenAPI v3.1
documents as-is from the specification. Unlike OpenApi, this preserves
the original structure including $ref references and allOf compositions
without normalization.
Key features in v3.1:
JSON Schema draft 2020-12 compatibility
type can be an array: type: ["string", "null"]
const keyword for constant values
prefixItems for tuple definitions
Webhooks support
For a normalized format that simplifies schema processing, use
OpenApi.
OpenAPI v3.1 specification types (raw, unemended).
OpenApiV3_1contains TypeScript type definitions for raw OpenAPI v3.1 documents as-is from the specification. Unlike OpenApi, this preserves the original structure including$refreferences andallOfcompositions without normalization.Key features in v3.1:
typecan be an array:type: ["string", "null"]constkeyword for constant valuesprefixItemsfor tuple definitionsFor a normalized format that simplifies schema processing, use OpenApi.
Author
Jeongho Nam - https://github.com/samchon