valid-email-address
Overview
This rule belongs to the swagger-v2-syntax-validation
ruleset and states that:
String value must be in the format of an email.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Value is not a valid email address. |
Code | SWAGGER20SYNTAX_V102 |
Type | Validation |
Rule System | Syntax |
Broad Category | Miscellaneous |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | swagger2 swagger syntax validation email |
Suggested Fixes
- Ensure that the value is in a valid email format.
- Ensure that the value is not empty or null.
- Ensure that the value does not contain leading or trailing whitespace characters.