generator
generator copied to clipboard
feat: integrate new parser API
Description
Integrate new ParserJS API:
- add new template config field
apiVersion. - update relevant source code to handle new and old API
- add some utils
TODO: use released v2 ParserJS, add JSDoc... and tests
Related issue(s) Resolves https://github.com/asyncapi/generator/issues/825 Part of https://github.com/asyncapi/parser-js/issues/481 Blocked by https://github.com/stoplightio/spectral/pull/2284
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
@derberg @jonaslagoni I think that we can merge that PR :) I wanna merge it after v2.6.0 release, because then we will have time to fix any potenial bugs before next spec release.
@magicmatatjahu got some conflicts.
@magicmatatjahu do you think you will still be able to move forward with this PR? 🙏
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
FInal round of review before merging, I solved the conflicts 🙂
@magicmatatjahu can you please update the branch with latest master changes?
As discussed offline via slack DM, @magicmatatjahu is happy with me creating a new PR with all the new changes needed since it can't handle it atm.
This then can be closed in favor of https://github.com/asyncapi/generator/pull/960
cc @jonaslagoni @fmvilas @derberg
closing in favour of https://github.com/asyncapi/generator/pull/960