5 implementations of StatusCode
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
Microsoft.AspNetCore.Mvc.Core (3)
Mvc.Api.Analyzers.Test (1)
26 references to StatusCode
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
Microsoft.AspNetCore.Mvc.Core.Test (24)
ApiExplorer\ApiConventionResultTest.cs (24)
42conventionResult.ResponseMetadataProviders.OrderBy(o => o.StatusCode),
43r => Assert.Equal(201, r.StatusCode),
44r => Assert.Equal(403, r.StatusCode));
82conventionResult.ResponseMetadataProviders.OrderBy(o => o.StatusCode),
83r => Assert.Equal(200, r.StatusCode),
84r => Assert.Equal(202, r.StatusCode),
85r => Assert.Equal(404, r.StatusCode));
107conventionResult.ResponseMetadataProviders.OrderBy(o => o.StatusCode),
109r => Assert.Equal(200, r.StatusCode),
110r => Assert.Equal(404, r.StatusCode));
127conventionResult.ResponseMetadataProviders.OrderBy(o => o.StatusCode),
129r => Assert.Equal(201, r.StatusCode),
130r => Assert.Equal(400, r.StatusCode));
150conventionResult.ResponseMetadataProviders.OrderBy(o => o.StatusCode),
152r => Assert.Equal(204, r.StatusCode),
153r => Assert.Equal(400, r.StatusCode),
154r => Assert.Equal(404, r.StatusCode));
174conventionResult.ResponseMetadataProviders.OrderBy(o => o.StatusCode),
176r => Assert.Equal(200, r.StatusCode),
177r => Assert.Equal(400, r.StatusCode),
178r => Assert.Equal(404, r.StatusCode));
198conventionResult.ResponseMetadataProviders.OrderBy(o => o.StatusCode),
200r => Assert.Equal(201, r.StatusCode),
201r => Assert.Equal(400, r.StatusCode));
Microsoft.AspNetCore.OpenApi (1)