// 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.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc.ApiExplorer
{
///
/// Provides a return type and a set of possible content types returned by a successful execution of the action.
///
public interface IApiResponseMetadataProvider
{
///
/// Optimistic return type of the action.
///
Type Type { get; }
///
/// Configures a collection of allowed content types which can be produced by the action.
///
void SetContentTypes(IList contentTypes);
}
}