QID 570013
QID 570013: Operation ID is Not Defined on the End Point
All end points are checked for presence of operationId. As per specification operationId are optional. If they are present, they are used to identify the operation. They can be used by code generators, and engine in the backend code. It is a good practice to define operationID. Based on review of your swagger application we have identified that operationId is not defined on the end point. operationId help in uniquely identifying individual operations.
It is hard to identify the individual operations uniquely if operationId is not defined on all the end points.
Solution
Please ensure all your operations have an operationId defined. An example of how operationId is defined in the end point:
"/pet":
post:
operationId: createNewPet
responses:
'200':
description: New pet added, great job.
Vendor References
CVEs related to QID 570013
Software Advisories
| Advisory ID | Software | Component | Link |
|---|