diff --git a/docs/integrations/better-auth.md b/docs/integrations/better-auth.md index 516b3e32..dde38770 100644 --- a/docs/integrations/better-auth.md +++ b/docs/integrations/better-auth.md @@ -98,7 +98,13 @@ However if we are using [@elysiajs/openapi](/plugins/openapi), you might want to We may do that with the following code: + ```ts +export const auth = betterAuth({ +  plugins: [openAPI()], // [!code ++] +}); + + import { openAPI } from 'better-auth/plugins' let _schema: ReturnType