QID 570091
QID 570091: Path Definition Contains Empty Parameter Defined
Swagger file can contain one or more paths. The paths mentioned in swagger file are relative to the API server. API exposes the paths which are endpoints. Specific operations which are the HTTP methods(GET, POST,etc) are defined on each paths. Users are allowed to input operation parameters via path, query string, headers, and cookies. The path parameter is defined in curly parenthesis and part of the paths definition. The path parameter should not be empty. Swagger file was analyzed and one or more path definitions have an empty parameter defined.
The swagger file is not valid and results in an error. The end point cannot be utilized.
paths: /bank/{account}/{savings}: get: parameters: - in: path name: "account" - in: path name: "savings"
CVEs related to QID 570091
| Advisory ID | Software | Component | Link |
|---|