Skip to content

Commit acb9be2

Browse files
eastgold15claude
andcommitted
📘 doc: fix code block formatting in better-auth integration
- Fix code block formatting in better-auth.md - Add proper code highlighting for openAPI plugin usage 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3d2186d commit acb9be2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/integrations/better-auth.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,13 @@ However if we are using [@elysiajs/openapi](/plugins/openapi), you might want to
9898

9999
We may do that with the following code:
100100

101+
101102
```ts
103+
export const auth = betterAuth({
104+
  plugins: [openAPI()], // [!code ++]
105+
});
106+
107+
102108
import { openAPI } from 'better-auth/plugins'
103109

104110
let _schema: ReturnType<typeof auth.api.generateOpenAPISchema>

0 commit comments

Comments
 (0)