This repository was archived by the owner on Dec 14, 2018. It is now read-only.
File tree 1 file changed +2
-5
lines changed
src/Microsoft.AspNetCore.Mvc.ApiExplorer 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (c) .NET Foundation. All rights reserved.
2
2
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3
3
4
- using System ;
5
4
using System . Collections . Generic ;
6
5
using Microsoft . AspNetCore . Mvc . Abstractions ;
7
- using Microsoft . AspNetCore . Mvc . ModelBinding ;
8
6
9
7
namespace Microsoft . AspNetCore . Mvc . ApiExplorer
10
8
{
@@ -44,11 +42,10 @@ public class ApiDescription
44
42
public string RelativePath { get ; set ; }
45
43
46
44
/// <summary>
47
- /// Gets the list of possible formats for a response .
45
+ /// Gets the list of possible formats for a request .
48
46
/// </summary>
49
47
/// <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.
52
49
/// </remarks>
53
50
public IList < ApiRequestFormat > SupportedRequestFormats { get ; } = new List < ApiRequestFormat > ( ) ;
54
51
You can’t perform that action at this time.
0 commit comments