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

Message object name in channelItemObject message.ref field cannot contain whitespaces #753

Closed
DharinaHanumunthadu opened this issue Apr 18, 2023 · 4 comments
Labels
bug Something isn't working stale

Comments

@DharinaHanumunthadu
Copy link

Describe the bug

AsyncAPI document fails to parse on AsyncAPI studio when the message.$ref field in the channelItemObject contains a reference to a message object in which its name contains spaces, as opposed to being camel-cased.

Note that the schema object names on the other hand work fine with spacing in them when referenced in a message object.

How to Reproduce

Steps to reproduce the issue. Attach all resources that can help us understand the issue:

Test File with bug: testFile.csv

  1. Copy paste the attached file contents into AsyncApi Studio
  2. There are 2 diagnostic errors that show up (Referencing in this place is not allowed), on line 44 and 54

Screenshot:
Screen Shot 2023-04-18 at 10 27 11 AM

Slack thread: https://asyncapi.slack.com/archives/C0230UAM6R3/p1681763680898089

Expected behavior

Expect the message object with name turn OnOff to be referenced without validation issues in message.$ref: '#/components/messages/turn OnOff' on lines 44 and 54

@DharinaHanumunthadu DharinaHanumunthadu added the bug Something isn't working label Apr 18, 2023
@github-actions
Copy link

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.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Aug 17, 2023
@darrylmacrae
Copy link

Is there a plan to address this issue in AsyncAPI v2 or v3 ?

@github-actions github-actions bot removed the stale label Nov 29, 2023
Copy link

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Mar 29, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants