-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Date values don't need quotes #1119
Comments
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. |
hey @ccudennec-otto , i wanted to solve this issue but i am unable to find the designated file folder for the same . |
Hi @kamal9580! Which link/file are you looking for? I've double checked the links in the description but they all seem to work. I did not attach an example file. Is that what you mean? |
Is this issue fixed by #1124 ? |
Validation of type |
Great! I've just tested my example and it also works! 🥳 |
Describe the bug
My schema contains a string property with format "date":
The file also contains an example for this property:
If the value is not quoted, I can see the following error in the "Diagnostics" section of https://studio.asyncapi.com/
If I read the YAML specification correctly, the above value does not need quotes to be interpreted as a valid string.
How to Reproduce
Described above.
Expected behavior
I don't see an error if the value is not quoted.
For your information:
I've also created an issue in the library that I use the generate the asyncapi.yaml to go around this: springwolf/springwolf-core#820
But in general IMHO the core issue is that AsyncAPI Studio should not mark unquoted values as error.
The text was updated successfully, but these errors were encountered: