// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Web.Http.Controllers;
namespace System.Web.Http.Description
{
///
/// Defines the provider responsible for documenting the service.
///
public interface IDocumentationProvider
{
///
/// Gets the documentation based on .
///
/// The action descriptor.
/// Documentation for the controller.
string GetDocumentation(HttpActionDescriptor actionDescriptor);
///
/// Gets the documentation based on .
///
/// The parameter descriptor.
/// Documentation for the controller.
string GetDocumentation(HttpParameterDescriptor parameterDescriptor);
}
}