Forum Discussion
kyleshockey
6 years agoSmartBear Alumni (Retired)
Hi msens, there's no way to do this unfortunately. Swagger UI won't let you "fake" a response when the entire request fails.
If you want this behavior, I suggest putting a load balancer or reverse proxy in front of your server that is capable of sending back HTTP 500 responses when your API server is unavailable.
Related Content
- 5 years ago
- 8 years ago
Recent Discussions
- 24 hours ago
- 2 days ago
- 19 days ago