Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 08:50
· 31 commits to main since this release
037c953

Minor Changes

  • #43 44dfd75 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

  • #43 44dfd75 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.