Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (9)
214_ = builder.MapGet("/", (Todo todo) => { });
225_ = builder.MapDelete("/", (Todo todo) => { });
253_ = builder.MapMethods("/", new[] { method }, (Todo todo) => { });
392_ = builder.MapGet("/", ([TestFromBody] Todo todo) => { });
412_ = builder.MapDelete("/", ([TestFromBody] Todo todo) => { });
432_ = builder.MapPatch("/", ([TestFromBody] Todo todo) => { });
682_ = builder.MapPost("/", [TestConsumesAttribute(typeof(Todo), "application/xml")] (Todo todo) => { });
692Assert.Equal(typeof(Todo), endpointMetadata.RequestType);