OpenAPI spec does not allow nullable identity
in session
model
#3842
Labels
bug
Something is not working.
identity
in session
model
#3842
Preflight checklist
Ory Network Project
No response
Describe the bug
When contacting the
PATCH /session/:id/extend
endpoint, theidentity
field of thesession
object is not expanded and is serialized as null. This is does not align with the generated OpenAPI spec sincenull
is not of typeIdentity
.This is especially problematic for autogenerated SDKs that will raise an unexpected error when deserializing the response.
Reproducing the bug
docker compose -f quickstart up
The print statement will output
Relevant log output
No response
Relevant configuration
No response
Version
master, 1.1.0
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Binary
Additional Context
No response
The text was updated successfully, but these errors were encountered: