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: The 'asyncapi' field does not match to the specification #23

Closed
BeardVis opened this issue Jan 16, 2024 · 1 comment
Closed

BUG: The 'asyncapi' field does not match to the specification #23

BeardVis opened this issue Jan 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@BeardVis
Copy link

Description

The current version of Neuroglia.AsyncApi.Generation creates an asyncApi specification with 'asyncApi' field name in camelCase.
Specification says:

All field names in the specification are case sensitive.

Also in the specification 'asyncapi' field name is specified in lower-case.

This issue causes plug-ins and asyncApi viewers to be unable to open the specification file generated by the current solution.

How to reproduce?

Just generate an asyncApi by using Neuroglia.AsyncApi.Generation.

Expected behavior

asyncapi field name specified in lower-case

Actual behavior

asyncApi field name specified in camel-case

@BeardVis BeardVis added the bug Something isn't working label Jan 16, 2024
@cdavernas
Copy link
Member

Hi @BeardVis and thanks for reporting!
Adding that to my todo! If that's urgent for you, feel free to submit a PR instead 😉

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
None yet
Development

No branches or pull requests

2 participants