doc endpoint returns 500 with no errors in logs
I am running on Lambda. I have used
ts-to-zod
to convert some of my types to zod definitions.
I have the following code:
The api endpoints are working as expected, but the swaggerUI doesn't work because the /v2/doc endpoint returns a 500. There are no errors in the logs. Any ideas?
I am looking to figure out how I can serve the swagger.json file itself.1 Reply
Ah nvm, I think I might have figured out what's wrong. My schemas are not populated correctly
Okay, now I am populating the schemas correctly, but still getting a 500 back
Okay figured it out, it's working now. Some of the routes didn't have a proper schema.