Contact object email is not a proper email address

Issue ID: warning-contact-email

Description

The email address defined the email field of the contact object is not a proper email address. The OpenAPI Specification (OAS) requires that email addresses in the contract must be proper email addresses in a valid format.

For more details, see the OpenAPI Specification.

Example

The following is an example of how this issue could look in your API definition:

{
    "contact": {
        "name": "API Team",
        "email": "will add later"
    }
}

Remediation

Make sure that all email addresses are proper email addresses and have the valid format.

{
    "contact": {
        "name": "API Team",
        "email": "contact@apisecurity.io"
    }
}