QID 570031
QID 570031: Query String Present in Path Definition
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. Path definition should contain strings and should not contain a query string. Query string should be defined in path parameters. Swagger file was analyzed and determined that query string was present in the path definition.
Swagger file was determined not to be compatible with swagger specification and will result in an error.
paths: /bank/{account}/{savings}: get: parameters: - in: query name: "account" - in: query name: "savings"
CVEs related to QID 570031
| Advisory ID | Software | Component | Link |
|---|