QID 570033
QID 570033: Sibblings Not Allowed Along with Reference
OpenAPI 3.0 allows for reuse of definitions across same server or other servers. In order to reference a definition that is defined in another location keyword "$ref" should be used. When using $ref there should be no other definitions on that node. Based on analysis of the swagger file it seems like there is another definition on the same node along with your $ref.
Having multiple definition along with your $ref results in an error since it is not supported by the swagger specification.
paths: /users: get: summary: "Get all users" responses: '200': description: "A list of all the users." content: application/json: schema: $ref: '#/shared-components/schemas/UsersList' components: schemas: UsersList: description: "A list object contains a list of users" properties:
CVEs related to QID 570033
| Advisory ID | Software | Component | Link |
|---|