12 references to MapDelete
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
GenerationBenchmarks.cs (1)
36_builder.MapDelete($"/{i}", (string id) => Results.NoContent());
Microsoft.AspNetCore.OpenApi.Tests (8)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (8)
104myGroup.MapDelete("/a", GetString); 109myGroup.MapDelete("/b", GetString); 133myGroup.MapDelete("/a", GetString).Produces<string>(201); 168myGroup.MapDelete("/a", GetString).WithOpenApi(o => new(o) 207WithLocalSummary(outerGroup.MapDelete("/outer-a", GetString)); 215WithLocalSummary(outerGroup.MapDelete("/outer-b", GetString)); 216WithLocalSummary(innerGroup.MapDelete("/inner-a", GetString)); 223WithLocalSummary(innerGroup.MapDelete("/inner-b", GetString));
Microsoft.AspNetCore.Routing.Tests (1)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
44routes.MapDelete(template, action);
MySql.ApiService (1)
Program.cs (1)
55app.MapDelete("/catalog/{id}", async (int id, MySqlConnection db) =>
RateLimitingSample (1)
Program.cs (1)
96app.MapDelete("/todoitems/{id}", async (int id, TodoDb db) =>