I have a question regarding the "Undocumented TypeError: Failed to fetch" response inside of the Swagger UI.
This is not a CORS issue, I am not interested in fixing this error. Is there a way to present this reponse in some other way, can I create my own default placeholder response for this? This error would happen when the server is down. I want to have default response for this like: Server is down.
I realize that there is a default options I can add to reponses in yaml file, but this does not work if the server does not respond. Of course, there is no error code, there is just Status: (failed) (inside of the inspect Chome network tab).
Can I somehow cover this response, make it my own?
If that is not possible, can I make any not documentet request default to some http reponse code, like 500 for example?