QID 570034
QID 570034: Unused Components
OpenAPI 3.0 allows for Components to be shared. A component defined on one object can be shared by other objects using the $ref. This helps in avoiding duplicated definitions across the API. Analysis of your swagger shows that there are components defined but not referenced in other objects.
Defined but not used components results in a warning. Unused components could be present due to them being left over from previous revisions. Unused components could result in information leakage in addition to creating a clutter in API definitions.
paths: /users: get: responses: '200': content: application/json: schema: $ref: '#/shared-components/schemas/UsersList' components: schemas: UsersList: properties: ...
CVEs related to QID 570034
| Advisory ID | Software | Component | Link |
|---|