Repository navigation
feat: add spec 3.0 validation support - #747
Conversation
🦋 Changeset detectedLatest commit: 77f368b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for modest-rosalind-098b67 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for asyncapi-studio-design-system ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
KhudaDad414
left a comment
There was a problem hiding this comment.
Have been playing around with changes in this PR and the conversion pop-up behaviour seems odd:
- when the
support v3toggle is on, and I am editing a v3 document, and I selectnew Fileit goes black to normal settings and v2. I expect it to show me a window if I want to convert the example to v3. - When I am editing a v2 document and I turn the
support v3toggle on, nothing happens. I expect the conversion pop-up to show up.
@KhudaDad414 what do you mean by "it goes back to normal settings" ? the The normal behaviour of the conversion window that shows during edition is the following :
Fixed in my last commits |
|
@smoya the validation works with the last Parser-JS update.
IMO it's already useful for doc contributors and can be merged. This is a loom demonstrating how it works: cc @alequetzalli @derberg @jonaslagoni |
Clarifying it works because Studio runs an additional JSON Schema validation through the |
|
@Amzani I love seeing how this is starting to look! 🙌 |
|
@smoya I think we could just have an other setting to enable/disable the spectral validation of v3 documents. |
|
@smoya I've just disabled the governance tab for v3.0.0 for now, we can enable it once asyncapi/parser-js#825 (comment) is fixed. |
|
Kudos, SonarCloud Quality Gate passed!
|
|
/rtm |









Fixes #746
@asyncapi/specsversion from4.2.1to6.0.0-next-major-spec.2including adapting to breaking changesWhen editing a V3 Async API document
2.x.x to 3.0.0 Conversion
Still need to figure out
Any ideas folks ?