S

Satya • 3.38K Points
Extraordinary

Q. Which annotation is used to validate request body objects?

  • (A) @Valid
  • (B) @Check
  • (C) @Verify
  • (D) @ValidateRequest
  • Correct Answer - Option(A)
  • Views: 10
  • Filed under category Springboot
  • Hashtags:

Explanation by: Satya
@Valid is used with DTOs to trigger validation rules.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.