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
if(string.IsNullOrWhiteSpace(uriString))thrownewNullReferenceException("The OpenAPI endpoint URI cannot be null or whitespace");
115
+
if(!Uri.TryCreate(uriString,UriKind.RelativeOrAbsolute,outvaruri)||uri==null)thrownewException($"Failed to parse the specified string '{uriString}' into a new URI");
this.Logger.LogInformation("Failed to retrieve the OpenAPI document at location '{uri}'. The remote server responded with a non-success status code '{statusCode}'.",this.OpenApi.Document.EndpointUri,response.StatusCode);
121
+
this.Logger.LogInformation("Failed to retrieve the OpenAPI document at location '{uri}'. The remote server responded with a non-success status code '{statusCode}'.",uri,response.StatusCode);
if(operation.Value==null)thrownewNullReferenceException($"Failed to find an operation with id '{this.OpenApi.OperationId}' in OpenAPI document at '{this.OpenApi.Document.EndpointUri}'");
130
+
if(operation.Value==null)thrownewNullReferenceException($"Failed to find an operation with id '{this.OpenApi.OperationId}' in OpenAPI document at '{uri}'");
0 commit comments