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)
Extensions\JsonTypeInfoExtensionsTests.cs (3)
56[typeof(IEnumerable<TodoWithDueDate>), null], 63[typeof(Results<Ok<TodoWithDueDate>, Ok<Todo>>), "ResultsOfOkOfTodoWithDueDateAndOkOfTodo"], 65[typeof(NotFound<TodoWithDueDate>), "NotFoundOfTodoWithDueDate"],
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (3)
267builder.MapPost("/", (TodoWithDueDate name) => { }); 294builder.MapPost("/", (TodoWithDueDate? name) => { }); 298builder.MapPost("/", (TodoWithDueDate name) => { });
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Responses.cs (2)
99.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(TodoWithDueDate), ["application/json"])); 151.WithMetadata(new ProducesResponseTypeMetadata(StatusCodes.Status200OK, typeof(TodoWithDueDate), ["application/json"]))