added api route
This commit is contained in:
1 parent
c234c28d15
commit
df9143e95c
1 file changed
+8
@@ -0,0 +1,8 @@
|
|||||||
|
// @/app/api/docs/api/routes.ts
|
||||||
|
|
||||||
|
import { NextResponse } from 'next/server';
|
||||||
|
import spec from '@/src/generated/openapi.json';
|
||||||
|
|
||||||
|
export function GET() {
|
||||||
|
return NextResponse.json(spec);
|
||||||
|
}
|
||||||
Reference in new issue
Block a user