Swagger API

Hi, I'm trying to set up Swagger but can't change the description for this field.

export const EmailValidator = Schema.Trim.pipe(Schema.pattern(EMAIL_REGEX)).annotations({
  identifier: "Email",
  description: "A valid email address",
  message: () => "El correo electrónico es inválido",
  arbitrary: () => (fc) => fc.emailAddress(),
})


The description and the arbitrary value seems to not change
image.png
image.png
Was this page helpful?