-
Notifications
You must be signed in to change notification settings - Fork 93
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
Script tag execution and openapi rendering #63
base: master
Are you sure you want to change the base?
Conversation
@adrianvlupu Please help review the changes and let me know if we need any adjustments as this is my time engaging in this project. If all good please help merge these changes when you get a chance. Hope it will help incorporate API specs along with awesome plantuml C4design artifacts. |
@vellala2000 Have some questions around this one (I haven't tested it so)
And also a small comment: The option naming should be something like includeSwagger instead of executeScript because it only includes the JS link or not. |
|
@vellala2000 I think this is a good addon, even though I would like an automatic generated md file with all content instead of the SwaggerUI generation (Need to have the PDF in some cases). Like you add the json-file in the /src directory and in the /docs there would be a generated MD file. Regarding the naming, sorry but I missed the option in the docsify option. Naming makes more sense then :) Still will test it out to see how it works, but I haven't got the time at the moment |
Yeah I understand where you are coming from. I looked into widdershins which converts specs into MD file and it looks decent enough for old school :). to be fair its not easy to make specs readable in documentation. |
I am looking forward to use this functionality soon. no pressure :) this actually completes all types of design documents I am trying to showcase. |
I am able to do openapi rendering by using existing custom docsify template option. |
closes #61
Supports
script
tag execution in MD fileSupports Swagger UI for openapi specs loading using html and script tag in MD file as below