Forum Discussion
kyleshockey
5 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
- 4 years agoalex-savage
- 7 years agopratoa
- 5 years agomboyce
Recent Discussions
- 11 hours agonoob_Vibes