rohit-gohri / redocusaurus

OpenAPI for Docusaurus with Redoc
https://redocusaurus.vercel.app/
MIT License
644 stars 113 forks source link

Standalone redoc plugin #362

Closed gituserjava closed 6 months ago

gituserjava commented 6 months ago

Is there a way to just run "Docusaurus Plugin Redoc" standalone instead of setting up docusaurus? I am just looking for a tool to convert open api yaml file into mark down file and I need the source of the mark down file for other processing. Could you please let me know?

With the approach documented on "Getting Started/Installation" page I am able to get the final markdown UI, but I also need the source of the generated markdown file.

rohit-gohri commented 6 months ago

I don't think that's possible, it's out of scope for this project as it relies on a lot of docusaurus APIs

gituserjava commented 6 months ago

Ok, is there a way to just have the source of the html file that gets created? I can then use other tools to convert html to markdown.

rohit-gohri commented 6 months ago

You could use redoc directly - https://github.com/Redocly/redocly-cli/?tab=readme-ov-file#generate-api-reference-documentation