Files
portabase/app/api/v1/openapi/route.ts
T

9 lines
208 B
TypeScript
Raw Normal View History

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());
}