-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
chore: merge master
into next-major-spec
+ adapt tests for v3
#824
Conversation
smoya
commented
Aug 1, 2023
Kudos, SonarCloud Quality Gate passed! |
const { document, diagnostics } = await parser.parse(documentRaw); | ||
|
||
expect(document).toBeInstanceOf(AsyncAPIDocumentV3); | ||
expect(diagnostics.length === 0).toEqual(true); // Validation in v3 is still not enabled. This test will intentionally fail once that changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the important change.
{ formatVersion: '3.0.10', document: {asyncapi: '3.0.10'}, existsFormat: false, result: false }, | ||
{ formatVersion: '3.0.0', document: {openapi: '3.0.0'}, existsFormat: false, result: false }, | ||
{ formatVersion: '3.0.0', document: null, existsFormat: false, result: false }, | ||
{ formatVersion: '3.0.10', document: {asyncapi: '3.0.10'}, existsFormat: true, result: true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The format now exists since the schema is found in @asyncapi/specs
:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
🎉 This PR is included in version 2.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.1.0-next-major-spec.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 2.2.0-next-major-spec.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |