Property is required by OpenAPI Specification

Description

Your API is missing one or more properties that the OpenAPI Specification (OAS) defines as mandatory.

For more details, see the OAS v2 or OAS v3.

Example

The following is how this issue could look in your API definition. The info section of this sample API is missing the version of the API, which is defined as a required property in OAS:

   "info": {
    "title": "Sample API",
    "description": "This is a sample API.",
   }

Remediation

Make sure that your API has all the properties that the OAS requires.

"info": {
    "version": "1.0.0",
    "title": "Sample API",
    "description": "This is a sample API.",
   }

Get API Security news directly in your Inbox.

By clicking Subscribe you agree to our Data Policy