// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNetCore.Mvc.ApiExplorer
{
///
/// A possible format for the body of a request.
///
public class ApiRequestFormat
{
///
/// The formatter used to read this request.
///
public IInputFormatter Formatter { get; set; }
///
/// The media type of the request.
///
public string MediaType { get; set; }
}
}