QID 570024
QID 570024: Global Tags are not Defined
Tags are defined to group the end points. They provide more information related to related end points. As per swagger specification, swagger file should have list of all the tags that are used in the various end points at the root of swagger file. This is optional and not a mandatory requirement. Based on analysis the swagger file does not have all tags used in end points listed at the global level. If there are multiple tags, they should be defined as an array. This error can reported if the tags are not listed as an array at the root of swagger file.
Missing of tags definition at the root level will result in a warning. Since end points are missing in the definition, reference to tags cannot be made arbitrarily in operations.
tags: - name: savings description: Details about savings accounts externalDocs: url: valid url - name: checking description: Details about checking account externalDocs: url: valid url
CVEs related to QID 570024
| Advisory ID | Software | Component | Link |
|---|