mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
feat: serve OpenAPI spec JSON at GET /api/v1/openapi
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import { buildSpec } from "@/lib/api-v1/openapi/spec";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export function GET() {
|
||||
return NextResponse.json(buildSpec());
|
||||
}
|
||||
Reference in New Issue
Block a user