io
This commit is contained in:
11
app/api/openapi/route.ts
Normal file
11
app/api/openapi/route.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { NextResponse } from "next/server";
|
||||
import { openApiSpec } from "@/lib/openapi";
|
||||
|
||||
export async function GET() {
|
||||
return NextResponse.json(openApiSpec, {
|
||||
headers: {
|
||||
"Cache-Control": "no-store",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user