feat: add interactive api docs, rewrite run endpoint with hono and zod validator
This commit is contained in:
@@ -2,9 +2,16 @@ import { Feedback } from "@/components/docs/Feedback";
|
||||
import { Heading } from "@/components/docs/Heading";
|
||||
import { Prose } from "@/components/docs/Prose";
|
||||
import { cn } from "@/lib/utils";
|
||||
// import { SwaggerUI } from "@hono/swagger-ui";
|
||||
import clsx from "clsx";
|
||||
import dynamic from "next/dynamic";
|
||||
// import _SwaggerUI from "swagger-ui-react";
|
||||
import Link from "next/link";
|
||||
|
||||
export const SwaggerUI = dynamic(() => import("./SwaggerUIClient"), {
|
||||
ssr: false,
|
||||
});
|
||||
|
||||
export const a = Link;
|
||||
export { Button } from "@/components/docs/Button";
|
||||
export { CodeGroup, Code as code, Pre as pre } from "@/components/docs/Code";
|
||||
|
||||
Reference in New Issue
Block a user