Ensure SecurityDefinitions Is Defined And Not Empty

Ensure that securityDefinitions is defined and not empty in OpenAPI version 2.0 and 3.0 files. Otherwise, the API may not be secure.