Make ApiDescriptionActionData public (#15023)

* Make ApiDescriptionActionData public

Fixes https://github.com/aspnet/AspNetCore/issues/14954
This commit is contained in:
TeBeCo 2019-10-16 17:59:51 +02:00 committed by Pranav K
parent 504f7f6856
commit 49191f4d56
2 changed files with 6 additions and 1 deletions

View File

@ -137,6 +137,11 @@ namespace Microsoft.AspNetCore.Mvc
public ApiConventionTypeAttribute(System.Type conventionType) { } public ApiConventionTypeAttribute(System.Type conventionType) { }
public System.Type ConventionType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } public System.Type ConventionType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
} }
public partial class ApiDescriptionActionData
{
public ApiDescriptionActionData() { }
public string GroupName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)] [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public partial class ApiExplorerSettingsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider public partial class ApiExplorerSettingsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider
{ {

View File

@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Mvc
/// Represents data used to build an <c>ApiDescription</c>, stored as part of the /// Represents data used to build an <c>ApiDescription</c>, stored as part of the
/// <see cref="Abstractions.ActionDescriptor.Properties"/>. /// <see cref="Abstractions.ActionDescriptor.Properties"/>.
/// </summary> /// </summary>
internal class ApiDescriptionActionData public class ApiDescriptionActionData
{ {
/// <summary> /// <summary>
/// The <c>ApiDescription.GroupName</c> of <c>ApiDescription</c> objects for the associated /// The <c>ApiDescription.GroupName</c> of <c>ApiDescription</c> objects for the associated