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

Commit

Permalink
Edited docs, removed unnecessary usings for ApiDescription (#5634)
Browse files Browse the repository at this point in the history
Addresses #5625
  • Loading branch information
jbagga authored Jan 5, 2017
1 parent 473337e commit 9cc20ff
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Microsoft.AspNetCore.Mvc.ApiExplorer/ApiDescription.cs
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down Expand Up @@ -44,11 +42,10 @@ public class ApiDescription
public string RelativePath { get; set; }

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

Expand Down

0 comments on commit 9cc20ff

Please sign in to comment.