What’s New

openapi-typescript openapi-typescript@7.12.0

openapi-typescript@7.12.0
Minor Changes
Patch Changes
  • #2536 e3c05a4 Thanks @darkbasic! - Fix enumValues: true output for schemas that use oneOf/anyOf unions by narrowing union types with Extract<> before accessing variant-specific properties. This prevents invalid type paths when an accessed property only exists on some union members.
View original