Skip to content

feat: duplicate tag names should throw error #1732

@joriverm

Description

@joriverm

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions