fix(openapi): mark /get-session response as nullable (#6540)

This commit is contained in:
Gautam Manchandani
2025-12-05 21:42:40 +05:30
committed by GitHub
parent 5436b95ada
commit 6066fdea8f

View File

@@ -45,6 +45,7 @@ export const getSession = <Option extends BetterAuthOptions>() =>
"application/json": {
schema: {
type: "object",
nullable: true,
properties: {
session: {
$ref: "#/components/schemas/Session",