Contact object URL is not a proper URL

Issue ID: warning-contact-url

Description

The URL defined the url field of the contact object is not a proper URL. The OpenAPI Specification (OAS) requires that all URLs in the API contract must be proper URLs 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. In this example, the URL is missing the protocol and has an extra space in the middle:

{
    "name": "API Support",
    "url": "www.example.com/ support",
    "email": "support@example.com"
}

Remediation

Make sure that all URLs in your API are proper URLs and have a valid format.

{
    "name": "API Support",
    "url": "www.example.com/support",
    "email": "support@example.com"
}