Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Commit 9cc20ff

Browse files
authored
Edited docs, removed unnecessary usings for ApiDescription (#5634)
Addresses #5625
1 parent 473337e commit 9cc20ff

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
using System;
54
using System.Collections.Generic;
65
using Microsoft.AspNetCore.Mvc.Abstractions;
7-
using Microsoft.AspNetCore.Mvc.ModelBinding;
86

97
namespace Microsoft.AspNetCore.Mvc.ApiExplorer
108
{
@@ -44,11 +42,10 @@ public class ApiDescription
4442
public string RelativePath { get; set; }
4543

4644
/// <summary>
47-
/// Gets the list of possible formats for a response.
45+
/// Gets the list of possible formats for a request.
4846
/// </summary>
4947
/// <remarks>
50-
/// Will be empty if the action returns no response, or if the response type is unclear. Use
51-
/// <c>ProducesAttribute</c> on an action method to specify a response type.
48+
/// Will be empty if the action does not accept a parameter decorated with the <c>[FromBody]</c> attribute.
5249
/// </remarks>
5350
public IList<ApiRequestFormat> SupportedRequestFormats { get; } = new List<ApiRequestFormat>();
5451

0 commit comments

Comments
 (0)