Skip to content

Commit

Permalink
docs: updated links to class-validator and class-transformer (#1457)
Browse files Browse the repository at this point in the history
  • Loading branch information
shevchenkonik authored Nov 18, 2024
1 parent 5baf0e7 commit 9cf59a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decorator-options/BodyOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ export interface BodyOptions {
/**
* Class-transformer options used to perform plainToClass operation.
*
* @see https://github.com/pleerock/class-transformer
* @see https://github.com/typestack/class-transformer
*/
transform?: ClassTransformOptions;

/**
* If true, class-validator will be used to validate param object.
* If validation options are given then class-validator will perform validation with given options.
*
* @see https://github.com/pleerock/class-validator
* @see https://github.com/typestack/class-validator
*/
validate?: boolean | ValidatorOptions;

Expand Down

0 comments on commit 9cf59a9

Please sign in to comment.