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
I'm attempting to use the LoadSwaggerFromURIFunc() to allow us to stub out the URI access and I've found that when references are required for a single element (apparently when there is no # in the path) the helper func is not called and the URI is accessed directly.
The text was updated successfully, but these errors were encountered:
Indeed, the call should be attempted instead of going straight for readURL.
I am not sure how you'd prefer this to work? SwaggerLoader.LoadSwaggerFromURIFunc func(loader *SwaggerLoader, url *url.URL) (*Swagger, error) is probably too weak a prototype to handle "single element URIs".
I'm attempting to use the LoadSwaggerFromURIFunc() to allow us to stub out the URI access and I've found that when references are required for a single element (apparently when there is no # in the path) the helper func is not called and the URI is accessed directly.
The text was updated successfully, but these errors were encountered: