yes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { getApiDocs } from "@/lib/swagger";
|
||||
import ReactSwagger from "@/components/client/SwaggerComponent";
|
||||
|
||||
export default async function IndexPage() {
|
||||
const spec = await getApiDocs();
|
||||
return (
|
||||
<section className="container">
|
||||
<ReactSwagger spec={spec} />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user