diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs index d1b4e0c9de..40107e4e8a 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs @@ -1,10 +1,8 @@ // 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 System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Abstractions; -using Microsoft.AspNetCore.Mvc.ModelBinding; namespace Microsoft.AspNetCore.Mvc.ApiExplorer { @@ -44,11 +42,10 @@ public class ApiDescription public string RelativePath { get; set; } /// - /// Gets the list of possible formats for a response. + /// Gets the list of possible formats for a request. /// /// - /// Will be empty if the action returns no response, or if the response type is unclear. Use - /// ProducesAttribute on an action method to specify a response type. + /// Will be empty if the action does not accept a parameter decorated with the [FromBody] attribute. /// public IList SupportedRequestFormats { get; } = new List();