covenix / SpecVersion
Type Alias: SpecVersion
SpecVersion =
"3.0"|"3.1"
Defined in: src/swagger.ts:16
OpenAPI specification version to emit. covenix produces '3.1' by default (its native form — Zod 4's z.toJSONSchema() is JSON Schema draft 2020-12, which 3.1 uses verbatim). Choose '3.0' when a consumer has only partial 3.1 support (e.g. openapi-generator's typescript-fetch); covenix down-converts the schemas (nullable, exclusive bounds, const, binary, …) accordingly.
