6 references to Error
Microsoft.AspNetCore.OpenApi.Tests (6)
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (2)
562builder.MapPost("/form", ([FromForm] Todo todo, [FromForm] Error error) => { }); 690private void ActionWithMultipleFormModel([FromForm] Todo todo, [FromForm] Error error) { }
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Responses.cs (2)
223builder.MapGet("/api/todos", [ProducesDefaultResponseType(typeof(Error))] () => { }); 255builder.MapGet("/api/todos", [ProducesDefaultResponseType(typeof(Error))] () => { })
Shared\SharedTypes.cs (1)
21internal record Result<T>(bool IsSuccessful, T Value, Error Error);
Transformers\SchemaTransformerTests.cs (1)
674builder.MapPost("/todo", ([FromForm] Todo todo, [FromForm] Error error) => { });