Redocly/redoc ? reverse-engineered prompt
Reverse engineered prompt
Build me a polished API documentation viewer for OpenAPI specs that lets me drop in a Swagger or OpenAPI file and instantly get a clean, responsive docs page.
I want it to show the API in a three panel layout, with a left menu and search, the main documentation in the center, and request and response examples on the right. It should handle OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0, and support common spec extras like logos, grouped tags, code samples, badges, and custom response labels. Make it easy to use either as a standalone page, an embeddable HTML tag, or something I can include in a React app.
Please make sure it can be built from the command line into a static HTML file, and that the docs are clear enough to try it locally with a sample API. If you need to check current implementation details, look up the latest docs online and match the project’s existing style.
Are you gonna build this?
make sure you review the code using coderabbit