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)
104
myGroup.
MapDelete
("/a", GetString);
109
myGroup.
MapDelete
("/b", GetString);
133
myGroup.
MapDelete
("/a", GetString).Produces<string>(201);
168
myGroup.
MapDelete
("/a", GetString).WithOpenApi(o => new(o)
207
WithLocalSummary(outerGroup.
MapDelete
("/outer-a", GetString));
215
WithLocalSummary(outerGroup.
MapDelete
("/outer-b", GetString));
216
WithLocalSummary(innerGroup.
MapDelete
("/inner-a", GetString));
223
WithLocalSummary(innerGroup.
MapDelete
("/inner-b", GetString));
Microsoft.AspNetCore.Routing.Tests (1)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (1)
44
routes.
MapDelete
(template, action);
MySql.ApiService (1)
Program.cs (1)
64
app.
MapDelete
("/catalog/{id}", async (int id, MySqlConnection db) =>
RateLimitingSample (1)
Program.cs (1)
96
app.
MapDelete
("/todoitems/{id}", async (int id, TodoDb db) =>