mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 20:27:44 +00:00
feat: new references route with openapi spec
This commit is contained in:
committed by
Bereket Engida
parent
5035bdfffb
commit
97597ecffe
9
docs/app/reference/route.ts
Normal file
9
docs/app/reference/route.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ApiReference } from "@scalar/nextjs-api-reference";
|
||||
|
||||
const config = {
|
||||
spec: {
|
||||
url: "/openapi.yml",
|
||||
},
|
||||
};
|
||||
|
||||
export const GET = ApiReference(config);
|
||||
1341
docs/public/openapi.yml
Normal file
1341
docs/public/openapi.yml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user