Skip to content

[BUG] Handling multiple async api files #426

@ugo-blo

Description

@ugo-blo

Describe the bug.

When generating classes from multiple AsyncAPI files, I split classes into different packages. However, this creates a Config class with the same name in each package, which raises a ConflictBeanDefinitionException because they all use the same bean name 'config'.

Is there a way to handle this problem?

Expected behavior

Having different name for each bean.

Screenshots

.

How to Reproduce

.

🥦 Browser

None

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions