I've a swagger document with an external reference. Like this:
paths:
/pet:
$ref: 'http://localhost:1080/some/path/ref.yaml'
Currently I mock this dependency via MockServer. When the MockServer isn't running. The swagger loading panics, which is finde I think. But when I do not load the expectation to return the content of ref.yaml, so MockServer just returns an HTTP 403 I don't get any error, the reference is just noch replaced. Is there any possibility to throw an error if the reference couldn't be loaded correctly?
Regards
Steffen