Skip to content

Commit 49191f4

Browse files
tebecopranavkm
authored andcommitted
Make ApiDescriptionActionData public (#15023)
* Make ApiDescriptionActionData public Fixes #14954
1 parent 504f7f6 commit 49191f4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ public sealed partial class ApiConventionTypeAttribute : System.Attribute
137137
public ApiConventionTypeAttribute(System.Type conventionType) { }
138138
public System.Type ConventionType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
139139
}
140+
public partial class ApiDescriptionActionData
141+
{
142+
public ApiDescriptionActionData() { }
143+
public string GroupName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
144+
}
140145
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
141146
public partial class ApiExplorerSettingsAttribute : System.Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider
142147
{

src/Mvc/Mvc.Core/src/ApiExplorer/ApiDescriptionActionData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Microsoft.AspNetCore.Mvc
77
/// Represents data used to build an <c>ApiDescription</c>, stored as part of the
88
/// <see cref="Abstractions.ActionDescriptor.Properties"/>.
99
/// </summary>
10-
internal class ApiDescriptionActionData
10+
public class ApiDescriptionActionData
1111
{
1212
/// <summary>
1313
/// The <c>ApiDescription.GroupName</c> of <c>ApiDescription</c> objects for the associated

0 commit comments

Comments
 (0)