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.
Minor Changes
#4344dfd75 Thanks @Newbie012! - Emit enum: [value] instead of the JSON Schema const keyword, which OpenAPI only adopted in 3.1. Generated output changes: { "const": "paypal" } is now { "enum": ["paypal"] }.
Patch Changes
#4344dfd75 Thanks @Newbie012! - A parameter typed with a single-member enum now refs the enum instead of its member. TypeScript collapses the declared type to the member literal, so the ref pointed at a schema that never existed.