4 instantiations of TodoWithDueDate
Microsoft.AspNetCore.OpenApi.Tests (4)
Services\CreateSchemaReferenceIdTests.cs (2)
164builder.MapPost("/", (Todo todo) => new TodoWithDueDate(todo.Id, todo.Title, todo.Completed, todo.CreatedAt, DateTime.UtcNow));
207builder.MapPost("/", (Todo todo) => new TodoWithDueDate(todo.Id, todo.Title, todo.Completed, todo.CreatedAt, DateTime.UtcNow));
Services\OpenApiSchemaService\OpenApiSchemaService.ResponseSchemas.cs (2)
220builder.MapGet("/api", () => new TodoWithDueDate(1, "Test Title", true, DateTime.Now, DateTime.Now.AddDays(1)));
276builder.MapGet("/api", () => new Result<Todo>(true, new TodoWithDueDate(1, "Test Title", true, DateTime.Now, DateTime.Now.AddDays(1)), null));
8 references to TodoWithDueDate
Microsoft.AspNetCore.OpenApi.Tests (8)