I am using Specmatic for API stubbing and would like to stub non-200 responses such as 400 (Bad Request) and 500 (Internal Server Error). However, I couldn’t find clear examples in the documentation demonstrating how to define stub responses for these status codes.
Could you confirm if Specmatic supports this capability? If so, can you provide examples of how to configure the stub to return different HTTP status codes (400, 500, etc.) based on request conditions?