Skip to content

Approach for renaming definition names #1865

Open
@jefersondaniel

Description

@jefersondaniel

Hi, I have a use case where I'm referencing types from another services libraries. However multiple services may define the same name so they would conflict. So, my objective is to have a way to "rename" those types on the generated json schema in a way that avoid name conflicts.

What would be the recommended approach here?

I managed to get this working forking this library and adding this code: 77511b0

However I would like to know if there is a better approach here.

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