Implemented interface member:
property
IsOptional
Microsoft.AspNetCore.Http.Metadata.IAcceptsMetadata.IsOptional
4 writes to IsOptional
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
EndpointMetadataApiDescriptionProviderTest.cs (2)
106[Consumes(typeof(InferredJsonClass), "application/custom0", "application/custom1", IsOptional = true)] 121[Consumes(typeof(InferredJsonClass), "application/custom0", "application/custom1", IsOptional = false)]
Microsoft.AspNetCore.OpenApi.Tests (2)
Services\OpenApiGeneratorTests.cs (2)
115[Consumes(typeof(InferredJsonClass), "application/custom0", "application/custom1", IsOptional = true)] () => { }); 132[Consumes(typeof(InferredJsonClass), "application/custom0", "application/custom1", IsOptional = false)] (InferredJsonClass fromBody) => { });