Add developer API, Prometheus metrics, and community links
This commit is contained in:
10
app/api/dev/openapi.json/route.ts
Normal file
10
app/api/dev/openapi.json/route.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { developerOpenApi } from "@/shared/developer-openapi";
|
||||
export const dynamic = "force-static";
|
||||
export function GET() {
|
||||
return Response.json(developerOpenApi, {
|
||||
headers: {
|
||||
"Cache-Control": "public, max-age=3600",
|
||||
"X-Content-Type-Options": "nosniff",
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user