'External Documentation' URL of the schema is not a proper URL

Description

The URL defined the url field of the External Documentation object for the schema in question is not a proper URL.

You can use the externalDocs field to reference an external resource that offers extended documentation for your API. This is field is optional. However, if you do reference external documentation, 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. Here, the url field has just a placeholder string:

"schema" : {
    "type": "string",
    "format": "email",
    "externalDocs" : {
         "description": "Find more info here",
         "url": "need to add later"
    }
}

Remediation

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

"schema" : {
    "type": "string",
    "format": "email",
    "externalDocs" : {
         "description": "Find more info here",
         "url": "http://my.api.com/docs/email"
    }
}