mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-29 10:26:49 -05:00
fix(openapi): mark /get-session response as nullable (#6540)
This commit is contained in:
committed by
GitHub
parent
5436b95ada
commit
6066fdea8f
@@ -45,6 +45,7 @@ export const getSession = <Option extends BetterAuthOptions>() =>
|
||||
"application/json": {
|
||||
schema: {
|
||||
type: "object",
|
||||
nullable: true,
|
||||
properties: {
|
||||
session: {
|
||||
$ref: "#/components/schemas/Session",
|
||||
|
||||
Reference in New Issue
Block a user