This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Cannot create multiple errors response when generate Document #1331
Labels
question
Further information is requested
So the thing it in the doc there are mention to create custom response here https://github.com/RobinTail/express-zod-api#response-customization. But you can only create 1 schema for 1 negative response, but if I want to create multiple errors like 400 for validate and 401 for authorization, there is no way to define that. How can I utilize the custom response to have multiple entries of error in the same result handler?
The text was updated successfully, but these errors were encountered: