Question · NestJS course · Module 11: Swagger and OpenAPI

The classValidatorShim Option

What does the classValidatorShim option do in the CLI Plugin?

Answer options

  • Automatically adds class-validator validation rules to Swagger
  • Creates validation classes from Swagger schemas
  • Disables input data validation
  • Converts validators into middleware

You can check the correct answer by solving this task in the CodeWorlds game.