Skip to content

feat: add Parser-API version 2 support - #1017

Merged
asyncapi-bot merged 9 commits into
masterfrom
add-v3-support
Sep 14, 2023
Merged

asyncapi-bot merged 9 commits into
masterfrom
add-v3-support

Conversation

@jonaslagoni

@jonaslagoni jonaslagoni commented Aug 1, 2023 •

Copy link
Copy Markdown
Member

Description
This PR adds support for the parserApi v2, which enables templates to work with it and effectively enables AsyncAPI v3 in templates.

Tested with asyncapi/markdown-template#360
Tested with asyncapi/html-template#448

Fixes #979

@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jonaslagoni
jonaslagoni marked this pull request as draft August 17, 2023 11:41
@jonaslagoni jonaslagoni changed the title feat: add support for v3 feat: add parserApi version 2 Sep 7, 2023
@jonaslagoni
jonaslagoni marked this pull request as ready for review September 11, 2023 11:21
derberg
derberg previously approved these changes Sep 13, 2023

@derberg derberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some minor comments

Comment thread lib/parser.js Resolved
Comment thread docs/configuration-file.md Resolved
Comment thread docs/generator-template.md Resolved
@derberg derberg changed the title feat: add parserApi version 2 feat: add Parser-API version 2 support Sep 13, 2023
@derberg
derberg dismissed their stale review September 13, 2023 13:34

dunno why approved :)

@jonaslagoni
jonaslagoni requested a review from derberg September 14, 2023 10:33
Comment thread lib/parser.js Resolved
Comment thread lib/parser.js Resolved
Comment thread lib/parser.js Resolved
jonaslagoni and others added 2 commits September 14, 2023 15:12
Co-authored-by: Lukasz Gornicki <[email protected]>
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@jonaslagoni
jonaslagoni requested a review from derberg September 14, 2023 13:16

@derberg derberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@jonaslagoni

Copy link
Copy Markdown
Member Author

/rtm

@jonaslagoni

Copy link
Copy Markdown
Member Author

Thanks for the review @derberg 🙇

@asyncapi-bot
asyncapi-bot merged commit 60f8e62 into master Sep 14, 2023
@asyncapi-bot
asyncapi-bot deleted the add-v3-support branch September 14, 2023 13:20
@asyncapi-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AsyncAPI spec v3 support in generator

3 participants