QID 570030
QID 570030: Trailing Slash Detected on Path Definition
Path definitions should not have a trailing slash at the end of the definition. Path definition with and without trailing slash can be considered as two different paths. Based on swagger specification it is better to avoid trailing slashes on paths. Analysis of swagger file resulted in detection of a trailing slash. This results in a warning and not error.
Swagger analysis results in a warning. You might unintentionally introduce a new path and confuse the parsers.
Solution
Review all your path definitions and remove trailing slashes. For example:
paths: /bank/{account}/{savings}: get: parameters: ...
Vendor References
CVEs related to QID 570030
Software Advisories
| Advisory ID | Software | Component | Link |
|---|