Skip to content
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

[BUG] "generate models java" without packageName hangs #1607

Open
2 tasks done
coekie opened this issue Dec 23, 2024 · 1 comment · May be fixed by #1609
Open
2 tasks done

[BUG] "generate models java" without packageName hangs #1607

coekie opened this issue Dec 23, 2024 · 1 comment · May be fixed by #1609
Labels
bug Something isn't working

Comments

@coekie
Copy link

coekie commented Dec 23, 2024

Describe the bug.

Running asyncapi generate models java foo.yml, without the required --packageName argument correctly prints an error, but then the cli incorrectly indicates it is still generating models, but hangs (until killed, e.g. with ctrl-C).

Expected behavior

Print an error and exit

Screenshots

Error: In order to generate models to Java, we need to know which package they are under. Add `--packageName=PACKAGENAME` to set the desired package name.
◒  Generating models...

How to Reproduce

Run asyncapi generate models java foo.yml

🥦 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 ?

No, someone else can work on it

@coekie coekie added the bug Something isn't working label Dec 23, 2024
@github-project-automation github-project-automation bot moved this to To Triage in CLI - Kanban Dec 23, 2024
Copy link
Contributor

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

Successfully merging a pull request may close this issue.

1 participant