changelogs.md


maximbelov/class-validator-jsonschema

Repository  -  API  -  Source

1.3.1

December 5, 2019

Fixed

  • The default enum converter uses Object.values instead of Object.key to support named values such as enum SomeEnum { Key = 'value' } (thanks @DimalT at #23)

1.3.0

June 24, 2019

Fixed

  • Moved class-transformer and class-validator to peer dependencies #11
  • Updated dependencies

1.2.1

June 3, 2019

Fixed

  • Update dependencies to fix mismatch with class-validator and class-tranformer #11

1.2.0

September 25, 2018

Added

  • Support class-transfomer's @Type decorator for explicitly defining type of nested properties wrapped in a generic (e.g. @ValidateNested({ each: true }) users: UserClass[]) #7

1.1.3

September 12, 2018

Fixed

  • Update openapi3-ts dependency to fix incorrect SchemaObject.additionalProperties type #4
  • Omit the required property in case of no required properties instead of an empty list: required: [] #5

1.1.2

August 19, 2018

Fixed

1.1.1

March 14, 2018

Fixed

1.1.0

November 30, 2017

Added

  • Additional class/property schema keywords via the @JSONSchema decorator