Contact email must be a proper email address

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 OAS v2 or OAS v3.

Example

The following is an example of how this 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"
},

Get API Security news directly in your Inbox.

By clicking Subscribe you agree to our Data Policy