Astro OpenAPI
Load OpenAPI documents into Astro content collections and render API references with reusable components.
Sponsor only
Astro OpenAPI is a private Prosefly package. Access is available to Prosefly sponsors; it is not an open-source package.
Use Lotus Pro directly
If you are building a product documentation site, start with the Lotus Pro template. It already includes Astro OpenAPI and the surrounding API reference routes. You can also view the live API reference to see the result.
API references that stay in your docs
Astro OpenAPI turns an OpenAPI file into structured Astro content entries. You can then use the same docs shell, navigation, Markdown, and deployment flow as the rest of your site.
Install privately
Configure GitHub Packages access, then install the package with pnpm.
Configure the loader
Choose the OpenAPI source, URL base, operation groups, and route names.
Render API details
Compose request, response, security, schema, and code-example components.
View the API demo
Explore the API reference generated by the Lotus Pro template.