2 implementations of StatusCode
dotnet-openapi (1)
HttpClientWrapper.cs (1)
53
public HttpStatusCode
StatusCode
=> _response.StatusCode;
Microsoft.DotNet.Open.Api.Tools.Tests (1)
OpenApiTestBase.cs (1)
153
public HttpStatusCode
StatusCode
{ get; } = HttpStatusCode.OK;
2 references to StatusCode
dotnet-openapi (2)
Commands\BaseCommand.cs (2)
286
throw new ArgumentException($"The given url returned '{response.
StatusCode
}', indicating failure. The url might be wrong, or there might be a networking issue.");
313
if (response.
StatusCode
== HttpStatusCode.ServiceUnavailable)