QID 570028

QID 570028: Invalid operationId Definition

Swagger files can define multiple operations on each end point. Operations include get, post, put, patch, delete, head, options, and trace. Operation uniqueness is defined based on a combination of path and the http method. operationId is not mandatory. When operationId is defined in the swagger definition, it should be unique across an operation. operationId is used by code generators to refer to the operation and links refer to linked operations. Given these two use cases it is important that the operationId follows the rules of characters in url. Based on analysis of the swagger file it has been determined that the operationId is not valid to be used in an URL.

The operationId defined in the swagger file can result in invalid code if code generators are used. And links cannot use the operationId to reference the operation.

Solution
Please fix the operationId so it has valid characters and can be part of a URL. For example:

/accounts/savings: get: operationId: getExistingUsers summary: Gets all users who have savings accounts ... post: operationId: addNewUser summary: Adds a new user who will have a savings account ...

Vendor References

CVEs related to QID 570028

Software Advisories
Advisory ID Software Component Link

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report