This commit is contained in:
2024-07-06 23:23:01 +02:00
parent 169ba29253
commit c9e7717130
39 changed files with 395 additions and 326 deletions
+11
View File
@@ -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>
);
}