In issue #64 already pointed.
Does it hurt to increase the timeout in general for the entire library? e.g. to 10 seconds?
I monkeypatch (pytest) it for now as a workaround.
def patched_urlopen(url, **_):
return urlopen(url, timeout=10)
monkeypatch.setattr("openapi_spec_validator.handlers.urlopen", patched_urlopen)
validate_spec_url(url)
In issue #64 already pointed.
Does it hurt to increase the timeout in general for the entire library? e.g. to 10 seconds?
I monkeypatch (pytest) it for now as a workaround.