6 references to WithSummary
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
EndpointMetadataApiDescriptionProviderTest.cs (1)
1430
builder.MapGet("/api/todos/{id}", (int id) => "").WithDescription("A description").
WithSummary
("A summary");
Microsoft.AspNetCore.OpenApi.Tests (3)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Operations.cs (3)
20
builder.MapGet("/api/todos", () => { }).
WithSummary
(summary);
38
builder.MapGet("/api/todos", () => { }).
WithSummary
(summary).
WithSummary
(summary + "1");
Microsoft.AspNetCore.Routing.Tests (1)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
135
builder.
WithSummary
("test summary");
Sample (1)
Program.cs (1)
79
.
WithSummary
("Creates a new todo item.");