KestrunOptions.DefaultApiResponseMediaType property

Gets or sets the default media type to use for API responses when no Accept header is provided.

public Dictionary<string, ICollection<ContentTypeWithSchema>> 
    DefaultApiResponseMediaType { get; set; }

See Also