// <copyright file="CssOutputFormatter.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace Jellyfin.Api.Formatters;

using System.Net.Mime;
using Microsoft.AspNetCore.Mvc.Formatters;

/// <summary>
/// Css output formatter.
/// </summary>
public sealed class CssOutputFormatter : StringOutputFormatter
{
    /// <summary>
    /// Initializes a new instance of the <see cref="CssOutputFormatter"/> class.
    /// </summary>
    public CssOutputFormatter()
    {
        SupportedMediaTypes.Clear();
        SupportedMediaTypes.Add(MediaTypeNames.Text.Css);
    }
}
