1 implementation of StatusCode
Microsoft.AspNetCore.Http.Abstractions (1)
Metadata\ProducesResponseTypeMetadata.cs (1)
69public int StatusCode { get; private set; }
9 references to StatusCode
Microsoft.AspNetCore.Http.Extensions.Tests (7)
RequestDelegateGenerator\RequestDelegateCreationTests.Metadata.cs (7)
34Assert.Equal(200, metadata.StatusCode); 50Assert.Equal(200, metadata.StatusCode); 80Assert.Equal(200, metadata.StatusCode); 94Assert.Equal(200, metadata.StatusCode); 108Assert.Equal(200, metadata.StatusCode); 122Assert.Equal(200, metadata.StatusCode); 137Assert.Equal(400, metadata.StatusCode);
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
ApiResponseTypeProvider.cs (1)
241var statusCode = metadata.StatusCode;
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiGenerator.cs (1)
122var statusCode = responseMetadata.StatusCode;