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