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

fix: handling of anonymous objects #88

Merged
merged 1 commit into from
Oct 13, 2020

Conversation

Tenischev
Copy link
Member

Description

In very simple AsyncAPI like [streetlights|https://www.asyncapi.com/docs/tutorials/streetlights] template doesn't produce complete model classes, because all object are anonymous.
This was fixed.
Classes will be named AnonymousMessageN or AnonymousSchemaN which is of course ugly, but generated code will be compilable.

Related issue(s)

Resolves: #77

@derberg derberg merged commit 70ff6dc into asyncapi:master Oct 13, 2020
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 0.20.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doubts about code generated for streetlights.yaml
3 participants