QID 570043
QID 570043: Parameter Description is Missing in Open API 2.0
In OpenAPI 2.0, parameters are defined in the parameters section of an operation or path. Parameters are defined using few properties: name, location, data type, description etc Descriptions for parameters are really important and help users in using the parameter as expected.
Missing description results in a warning. Not having description on the parameter does not give clarity on the parameter usage.
Solution
Review all your parameters and ensure there is a clear description added for each parameter. For example:
paths: /users/{id}: get: parameters: - in: path name: id # Note the name is the same as in the path required: true schema: type: integer minimum: 1 description: The user ID
Vendor References
CVEs related to QID 570043
Software Advisories
| Advisory ID | Software | Component | Link |
|---|