react-api-doc
v0.0.9
Published
Show swagger-ui-react UI without needing node-gyp installed, to allow deploy the page into nodejs v20 in vercel.
Downloads
8
Readme
react-api-doc (WIP)
Show swagger-ui-react UI without needing node-gyp installed, to allow deploy the page into nodejs v20 in vercel.
Example Usages in NextJS 14
import dynamic from "next/dynamic";
import { spec } from "./spec";
import "react-api-doc/dist/index.css"
const APIDoc = dynamic(() => import("react-api-doc"), { ssr: false });
export default async function ReactApiDocPage() {
return <APIDoc spec={spec} />;
}