-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: duplicate tag names should throw error #1732
Labels
Comments
This isn't a bug, but rather a feature request. We need to add a rule to check for the uniqueness of tag names. Anyway, thanks for creating the issue! |
tatomyr
added
Type: Enhancement
p3
good first issue
Good for newcomers
and removed
Type: Bug
Something isn't working
labels
Sep 13, 2024
my mistake, i considered it a bug as it is apparently in the specs, but fair enough! |
joriverm
changed the title
duplicate tag names does not throw an error
feat: duplicate tag names should throw error
Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
a openapi spec file that has 2 tags with the same name doesn't raise an error nor warning about it.
Describe the solution you'd like
i would expect the tool to at least throw a warning about the tag being duplicate. the swagger editor ( https://editor.swagger.io/ ) does complain about it and considers it an error
Describe alternatives you've considered
N/A, we currently have the tool running on a cron and we will see when it is added :)
Additional context
used json to test : petstore.json
used command :
redocly lint petstore.json --lint-config=error --format=json
current log : log.txt
The text was updated successfully, but these errors were encountered: