Skip to content

fix: handling of anonymous objects#88

Merged
derberg merged 1 commit intoasyncapi:masterfrom
Tenischev:fix_anonymous_classes
Oct 13, 2020
Merged

fix: handling of anonymous objects#88
derberg merged 1 commit intoasyncapi:masterfrom
Tenischev:fix_anonymous_classes

Conversation

@Tenischev
Copy link
Copy Markdown
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
Copy Markdown
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