open-api icon indicating copy to clipboard operation
open-api copied to clipboard

BUG: wrong email format validation

Open giowe opened this issue 5 years ago • 1 comments

given a param validations like this:

"email": {
  "type": "string",
  "format": "email"
}

the validator allows a string like this test@test unless it does'n include a .xx after the domain.

giowe avatar Aug 26 '20 09:08 giowe

@giowe is there a format defined by the spec? and can you submit a PR to fix this if it's different with a link to the spec?

jsdevel avatar Aug 26 '20 18:08 jsdevel