Skip to content

ts-twg-ast-codegen 0.29.0

Compare
Choose a tag to compare
@TeamworkGuy2 TeamworkGuy2 released this 18 Aug 04:01
· 2 commits to master since this release

Added

  • OpenApiConverter static fields/methods:
    • defaultTypeConverter for handling type construction when calling readType()
    • anyOfProp the name of the prop used for 'anyOf' checks, doesn't currently exist in Open API v2. This property provides a way to detect and generate 'anyOf' types
    • readType() made public
    • renamed some parameters for clarity

Changed

  • Annotation arguments will now be JSON.stringify() encoded, this affects the annotation value of EnumOf, AllOf, and AnyOf
  • $ref type/field naming stack now includes the name (last path segment) of the reference type
  • TypeConverter.isPrimitive() now includes integer for Open API specs

Fixed

  • required now correct on object properties