| File: ApiExplorer\ApiRequestFormat.cs | Web Access |
| Project: src\aspnetcore\src\Mvc\Mvc.Abstractions\src\Microsoft.AspNetCore.Mvc.Abstractions.csproj (Microsoft.AspNetCore.Mvc.Abstractions) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Formatters; namespace Microsoft.AspNetCore.Mvc.ApiExplorer; /// <summary> /// A possible format for the body of a request. /// </summary> public class ApiRequestFormat { /// <summary> /// The formatter used to read this request. /// </summary> public IInputFormatter Formatter { get; set; } = default!; /// <summary> /// The media type of the request. /// </summary> public string MediaType { get; set; } = default!; }