Skip to content

[Question]: Duplicate schema names don't throw but are overwritten #5016

@claudenirmachado

Description

@claudenirmachado

Question

Is it possible for the library to throw an exception if there are duplicate schema names?
I have a large codebase that generates OpenAPI Server documentation based on annotations. However, the clients are affected by this issue, where some schemas are overwritten due to this duplication.

Affected Version

2.2.30

Context

It is related to this issue.

Checklist

  • I have searched the existing issues and documentation before asking.
  • I have provided enough information for others to understand my question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions