microcks: AsyncAPI version 2.6.0 is not supported
When using version 2.6.0 of the AsyncAPI document in the Microcks UI, I keep getting the following error: Error: Version 2.6.0 is not supported.
Any idea why?
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 21 (8 by maintainers)
š @AceTheCreator
Welcome to the Microcks community! š
Thanks and congrats š for opening your first issue here! Be sure to follow the issue template or please update it accordingly.
š¢ If youāre using Microcks in your organization, please add your company name to this list. š It really helps the project to gain momentum and credibility. Itās a small contribution back to the project with a big impact.
If you need to know why and how to add yourself to the list, please read the blog post āJoin the Microcks Adopters list and Empower the vibrant open source Community šā
Hope you have a great time there!
š ~~~~~~~~~ š
š¢ If you like Microcks, please ā star ā our repo to support it!
š It really helps the project to gain momentum and credibility. Itās a small contribution back to the project with a big impact.
Iāll create an issue about it and ask for the maintainerās opinion if itāll be worth backporting this.
Need some extra checks to see how to integrated fix from web components and what are the consequence on Microcks side.
Hi @lbroudoux, this issue as finally been resolved https://github.com/asyncapi/asyncapi-react/pull/1068
Iāll keep a close eyes for the implementation to ensure this doesnāt happen
Hey @AceTheCreator
Iāve done some complementary tests and have found some interesting results⦠It seems that the
1.4.5version of the components behaves a bit differently on examples rendering depending on the version of the spec. Thatās why I thought it was not correctly working for previous versions.Letās me explain what Iāve seen.
Letās imagine Iāve got this AsyncAPI v3.0.0:
You see that the email address of one example (
'{{randomEmail()}}') is not conformant to the spec as it should have theemailformat. However, rendering of documentation is ok as illustrated below:Now if Iāve got the same error in an AsyncAPI v2.1.0 spec:
The rendering fails, only displaying a white screen with no messages, either on the developer console. Remove the
format: emaildirective and rendering is OK.And I think thatās why we kept the older version of the web component for previous spec versions: the older version might be more permissive with older specs errors.
Obviously, consistent behavior for the different spec versions would be better. Would it be worth creating an issue for this in AsyncAPI web component? Now that efforts are focused on 3.0, Iām not sure if itās worth backporting this⦠What do you think?
Iāll take a look at the react-component and write back!