Generator: The API document for the generator does not clarify access to the parsed AsyncAPIDocument

Created on 16 Jul 2020  路  5Comments  路  Source: asyncapi/generator

Reason/Context

With the current API document for the generator it does not state you have access to the parsed AsyncAPIDocument on asyncapi and the AsyncAPI file on originalAsyncAPI.

Description

We need to add jsdoc to the following lines:
https://github.com/asyncapi/generator/blob/4c8dd9de88c701ccf1afaeb28cf6aaba7e8b7e2c/lib/generator.js#L237-L239

Hacktoberfest enhancement good first issue

Most helpful comment

Hi! I'm interested with a little mentoring I can pull this.

All 5 comments

Hi! I'm interested with a little mentoring I can pull this.

Hey @McZenith awesome! You can draw inspiration by this:
https://github.com/asyncapi/generator/blob/4c8dd9de88c701ccf1afaeb28cf6aaba7e8b7e2c/lib/generator.js#L114
To see if it generates the correct API document run the command npm run docs 馃槃

Thanks will do.

This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 30 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
Thank you for your contributions :heart:

I can help with this one, if it's still available :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jdall picture jdall  路  5Comments

fmvilas picture fmvilas  路  8Comments

venth picture venth  路  5Comments

fmvilas picture fmvilas  路  9Comments

marcortw picture marcortw  路  7Comments