You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
codegen no longer emits invalid TypeScript for nullable objects. A
nullable object schema — OpenAPI 3.1 type: ["object", "null"] or 3.0 nullable: true — renders as { … } | null, which starts with { but is
not a bare object body. The generator mistook it for an interface body and
produced export interface Profile { … } | null (a syntax error). Such
schemas now emit a valid type alias (export type Profile = { … } | null);
plain objects still emit export interface.