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