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

operations is not allowed in components section #432

Closed
KhudaDad414 opened this issue Sep 5, 2023 · 4 comments
Closed

operations is not allowed in components section #432

KhudaDad414 opened this issue Sep 5, 2023 · 4 comments
Labels

Comments

@KhudaDad414
Copy link
Member

Describe the bug

Based on https://www.asyncapi.com/docs/reference/specification/v3.0.0-next-major-spec.12#componentsObject components section should allow operations in the components section.

How to Reproduce

parse an AsyncAPI file with:

...
components:
  operations: {}
...

Expected behaviour

It should allow me to have operations in the components section.
I am not sure if it's a spec issue or a parser issue. 🤔

@derberg
Copy link
Member

derberg commented Oct 9, 2023

yup, operations should be possible under components -> asyncapi/spec#806

imho it is not parser issue but json schema -> https://github.com/asyncapi/spec-json-schemas/blob/next-major-spec/definitions/3.0.0/components.json - operations are missing

@derberg derberg transferred this issue from asyncapi/parser-js Oct 9, 2023
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

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.

@derberg
Copy link
Member

derberg commented Oct 9, 2023

it was just missed in #264

will you open a PR?

@asyncapi-bot
Copy link
Contributor

🎉 This issue has been resolved in version 6.0.0-next-major-spec.12 🎉

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

No branches or pull requests

3 participants