@oaspect/react
v0.5.0
Published
Interactive API reference for OpenAPI documents, as a React component.
Maintainers
Readme
@oaspect/react
The oaspect API reference as a React component.
import { ApiReference } from "@oaspect/react";
import "@oaspect/react/styles.css";
<ApiReference specUrl="/openapi.yaml" />;Every module carries "use client", so it works in React Server Components
frameworks such as Next.js. See the main README
for all props. MIT licensed.
