11 references to WithTags
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Operations.cs (6)
92
builder.MapGet("/api/todos", () => { }).
WithTags
(["todos", "v1"]);
116
builder.MapGet("/api/todos", () => { }).
WithTags
(["todos", "v1"]).WithTags(["todos", "v2"]);
164
builder.MapGet("/api/todos", () => { }).
WithTags
(["todos", "v1"]);
165
builder.MapGet("/api/users", () => { }).
WithTags
(["users", "v1"]);
192
builder.MapGet("/api/todos", () => { }).
WithTags
(["todos"]);
215
builder.MapGet("/api/todos", () => { }).
WithTags
(["todos"]);
Services\OpenApiGeneratorTests.cs (2)
62
.
WithTags
("A")
63
.
WithTags
("B");
Microsoft.AspNetCore.Routing.Tests (1)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
29
static void SpecificWithTags(RouteHandlerBuilder builder) => builder.
WithTags
("a", "b", "c");
MinimalSample (1)
Program.cs (1)
65
app.MapGet("/json", Json).
WithTags
("json");
Sample (1)
Program.cs (1)
85
.
WithTags
("users");