-
Notifications
You must be signed in to change notification settings - Fork 10
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: No support for special char in emum #311
Comments
Thank you for collaborating with the project by giving us feedback! Cheers! |
Hello @jemacineiras |
Hi @bibiboss, what will be produced right now is something like
The solution here to support that kind of is build something like
That will work for you? Cheers |
Hello @jemacineiras Yes :) I think there is a list of char to check. On the top of my head I'm thinking about all specials char from regional keyboard ( Cheers |
Hi @bibiboss , there is a fix in the branch attached to this issue. If you can test it and works for you, then I can merge it. Cheers |
Hello @jemacineiras It works well! I'm not stuck on this anymore! Thanks again for quick answer and fix! |
Hello!
First, I'm not sure to write correctly the issue, so I appologize for that. I'll try to be reactive if any information is missing.
It seems that the plugin does not support special char. So far I've been using
:
and.
.Both this char can be used in a urn definition (https://www.rfc-editor.org/rfc/rfc2141).
While some of my messages exchanged through a bus have URNs inside, it seems that currently it is not possible.
asyncapi.yml example
mvn configuration
Result:
Failing compilation
cause:
Possible result:
The piece of code could be generated like:
Best regards
The text was updated successfully, but these errors were encountered: