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