// 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 Microsoft.AspNetCore.Mvc.ModelBinding;
namespace Microsoft.AspNetCore.Mvc.ApiExplorer
{
///
/// A metadata description of an input to an API.
///
public class ApiParameterDescription
{
///
/// Gets or sets the .
///
public ModelMetadata ModelMetadata { get; set; }
///
/// Gets or sets the name.
///
public string Name { get; set; }
///
/// Gets or sets the .
///
public ApiParameterRouteInfo RouteInfo { get; set; }
///
/// Gets or sets the .
///
public BindingSource Source { get; set; }
///
/// Gets or sets the parameter type.
///
public Type Type { get; set; }
}
}