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

feat: Add hasMessages function to main model #85

Merged
merged 1 commit into from
Jun 15, 2020
Merged

feat: Add hasMessages function to main model #85

merged 1 commit into from
Jun 15, 2020

Conversation

derberg
Copy link
Member

@derberg derberg commented Jun 12, 2020

Description

  • add hasMessages() function to main model. You can easily evaluate if specification file has any messages, in components or inside the channels operations

Related issue(s)
Resolves #84

@derberg derberg requested a review from fmvilas June 12, 2020 14:36
@fmvilas
Copy link
Member

fmvilas commented Jun 12, 2020

I guess a .components().hasMessages() would be great too. In other PR, of course.

@derberg
Copy link
Member Author

derberg commented Jun 15, 2020

@fmvilas should then there be also hasSchemas, hasSecuritySchemas etc?

@derberg derberg merged commit 4a9805a into asyncapi:master Jun 15, 2020
@derberg derberg deleted the hasmessages branch June 15, 2020 09:08
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 0.19.0 🎉

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.

Add method .hasMessages()
3 participants