In short, it happens when the first request for the server is for the Swagger documentation. This somehow makes it that the response schema (and maybe also other schemas?) are not in the correct shape
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
The value of schema at the location where the error occurs is:
What version of Elysia is running?
1.1.17
What platform is your computer?
Linux 6.5.13-7-MANJARO x86_64 unknown
What steps can reproduce the bug?
I created a repo with a reproduction https://github.com/firatoezcan/elysia-reproduction
In short, it happens when the first request for the server is for the Swagger documentation. This somehow makes it that the response schema (and maybe also other schemas?) are not in the correct shape
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
The value of schema at the location where the error occurs is:
It should instead be:
Have you try removing the
node_modules
andbun.lockb
and try again yet?yes