MapRouteOptions.DefaultResponseContentType property
Default response content type for this route.
public IDictionary<string, ICollection<ContentTypeWithSchema>>?
DefaultResponseContentType { get; set; }
See Also
- record ContentTypeWithSchema
- class MapRouteOptions
- namespace Kestrun.Hosting.Options