QID 570037
QID 570037: Schemes Definition Missing
Schemes is a property that is present in swagger definition. It is a string array, which define the HTTP transport types used by the API. Based on analysis of swagger file it seems like schemes is not defined.
Not having a value for schemes results in a challenge for automation or code generation. Swagger analysis results in a warning and not error.
Solution
Ensure that the schemes property is present, and the content is defined as an array. For example:
host: yourdomain.com schemes: - "https" paths: /users: ...
Vendor References
CVEs related to QID 570037
Software Advisories
| Advisory ID | Software | Component | Link |
|---|