2 instantiations of ApiDescription
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (1)
102
var apiDescription = new
ApiDescription
()
EndpointMetadataApiDescriptionProvider.cs (1)
100
var apiDescription = new
ApiDescription
26 references to ApiDescription
Microsoft.AspNetCore.Mvc.Abstractions (8)
ApiExplorer\ApiDescription.cs (1)
37
/// Gets arbitrary metadata properties associated with the <see cref="
ApiDescription
"/>.
ApiExplorer\ApiDescriptionProviderContext.cs (4)
9
/// A context object for <see cref="
ApiDescription
"/> providers.
23
Results = new List<
ApiDescription
>();
32
/// The list of resulting <see cref="
ApiDescription
"/>.
34
public IList<
ApiDescription
> Results { get; }
ApiExplorer\ApiResponseType.cs (1)
50
/// If an <see cref="
ApiDescription
"/> has a default response, then the <see cref="StatusCode"/> property should be ignored. This response
ApiExplorer\IApiDescriptionProvider.cs (2)
9
/// Defines a contract for specifying <see cref="
ApiDescription
"/> instances.
51
/// Creates or modifies <see cref="
ApiDescription
"/>s.
Microsoft.AspNetCore.Mvc.ApiExplorer (18)
ApiDescriptionExtensions.cs (7)
7
/// Extension methods for <see cref="
ApiDescription
"/>.
12
/// Gets the value of a property from the <see cref="
ApiDescription
.Properties"/> collection
16
/// <param name="apiDescription">The <see cref="
ApiDescription
"/>.</param>
18
public static T? GetProperty<T>(this
ApiDescription
apiDescription)
33
/// Sets the value of an property in the <see cref="
ApiDescription
.Properties"/> collection using
37
/// <param name="apiDescription">The <see cref="
ApiDescription
"/>.</param>
39
public static void SetProperty<T>(this
ApiDescription
apiDescription, T value)
ApiDescriptionGroup.cs (5)
10
/// Endpoints are grouped by their <see cref="
ApiDescription
.GroupName"/>, which can be set
27
/// <param name="items">A collection of <see cref="
ApiDescription
"/> items for this group.</param>
28
public ApiDescriptionGroup(string? groupName, IReadOnlyList<
ApiDescription
> items)
40
/// A collection of <see cref="
ApiDescription
"/> items for this group.
42
public IReadOnlyList<
ApiDescription
> Items { get; }
DefaultApiDescriptionProvider.cs (3)
22
/// Implements a provider of <see cref="
ApiDescription
"/> for actions represented
95
private
ApiDescription
CreateApiDescription(
102
var
apiDescription = new ApiDescription()
EndpointMetadataApiDescriptionProvider.cs (2)
83
private
ApiDescription
CreateApiDescription(RouteEndpoint routeEndpoint, string httpMethod, MethodInfo methodInfo, bool disableInferredBody)
100
var
apiDescription = new ApiDescription
Properties\AssemblyInfo.cs (1)
7
[assembly: TypeForwardedTo(typeof(Microsoft.AspNetCore.Mvc.ApiExplorer.
ApiDescription
))]