You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The validator should use the default server url as a fallback if the provided url can't be resolved.
I would like to avoid displaying the Validation URL to the api user.
note : first version incorrectly assumed a query was made on the url.
The text was updated successfully, but these errors were encountered:
We are running a pyramid app with the following open api yaml definition :
Requests to the endpoint
/test
will fail withServer not found for http://0.0.0.0:8080/test
unless the default server is added to the servers object:it seems the url validator try to resolve the url in the servers field.
https://github.com/p1c2u/openapi-spec-validator/blob/master/openapi_spec_validator/handlers.py#L25
The validator should use the default server url as a fallback if the provided url can't be resolved.
I would like to avoid displaying the Validation URL to the api user.
note : first version incorrectly assumed a query was made on the url.
The text was updated successfully, but these errors were encountered: