// 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.Collections.Generic;
namespace Microsoft.AspNetCore.Mvc.ApiExplorer
{
///
/// Represents a group of related apis.
///
public class ApiDescriptionGroup
{
///
/// Creates a new .
///
/// The group name.
/// A collection of items for this group.
public ApiDescriptionGroup(string groupName, IReadOnlyList items)
{
GroupName = groupName;
Items = items;
}
///
/// The group name.
///
public string GroupName { get; }
///
/// A collection of items for this group.
///
public IReadOnlyList Items { get; }
}
}