19 instantiations of ApiParameterDescription
Microsoft.AspNetCore.Grpc.Swagger (3)
Microsoft.AspNetCore.Mvc.ApiExplorer (4)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (10)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
152 references to ApiParameterDescription
ApiExplorerWebSite (1)
Microsoft.AspNetCore.Mvc.Abstractions (6)
Microsoft.AspNetCore.Mvc.ApiExplorer (13)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (106)
DefaultApiDescriptionProviderTest.cs (71)
184var parameter = Assert.Single(description.ParameterDescriptions);
230var parameter = Assert.Single(description.ParameterDescriptions);
296var parameter = Assert.Single(description.ParameterDescriptions);
312var parameterDescription = Assert.Single(description.ParameterDescriptions);
340var id = Assert.Single(parameters, p => p.Source == expected);
371var id = Assert.Single(parameters, p => p.Source == expected);
392var parameter = Assert.Single(description.ParameterDescriptions);
437var id1 = Assert.Single(description.ParameterDescriptions, p => p.Name == "id1");
441var id2 = Assert.Single(description.ParameterDescriptions, p => p.Name == "id2");
1326var parameter = Assert.Single(parameters, p => p.Name == "ProductId");
1350var parameter = Assert.Single(description.ParameterDescriptions);
1370var parameter = Assert.Single(description.ParameterDescriptions);
1387var parameter = Assert.Single(description.ParameterDescriptions);
1404var parameter = Assert.Single(description.ParameterDescriptions);
1424var parameter = Assert.Single(parameters, p => p.Name == "ProductId");
1454var parameter = Assert.Single(parameters);
1474var parameter = Assert.Single(description.ParameterDescriptions);
1506var parameter = Assert.Single(description.ParameterDescriptions);
1526var parameter = Assert.Single(parameters, p => p.Name == "ProductId");
1553var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "Id");
1557var product = Assert.Single(description.ParameterDescriptions, p => p.Name == "Product");
1561var userId = Assert.Single(description.ParameterDescriptions, p => p.Name == "UserId");
1565var comments = Assert.Single(description.ParameterDescriptions, p => p.Name == "Comments");
1584var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "Name");
1603var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "id");
1622var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "id");
1641var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "employee");
1660var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "employee");
1679var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "employee");
1698var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "employee");
1717var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "managerid");
1721var product = Assert.Single(description.ParameterDescriptions, p => p.Name == "name");
1741var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "Id");
1745var product = Assert.Single(description.ParameterDescriptions, p => p.Name == "Product");
1749var userId = Assert.Single(description.ParameterDescriptions, p => p.Name == "UserId");
1753var comments = Assert.Single(description.ParameterDescriptions, p => p.Name == "Comments");
1772var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "Id");
1776var quantity = Assert.Single(description.ParameterDescriptions, p => p.Name == "Quantity");
1780var productId = Assert.Single(description.ParameterDescriptions, p => p.Name == "Product.Id");
1784var price = Assert.Single(description.ParameterDescriptions, p => p.Name == "Product.Price");
1804var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "Id");
1808var quantity = Assert.Single(description.ParameterDescriptions, p => p.Name == "Quantity");
1812var productId = Assert.Single(description.ParameterDescriptions, p => p.Name == "Product.Id");
1816var productPrice = Assert.Single(description.ParameterDescriptions, p => p.Name == "Product.Price");
1839var id = Assert.Single(description.ParameterDescriptions, p => p.Name == $"{parentName}.Child.Id");
1843var name = Assert.Single(description.ParameterDescriptions, p => p.Name == $"{parentName}.Child.Name");
1870var id = Assert.Single(description.ParameterDescriptions, p => p.Name == $"{groupName}.{parentName}.Child.Id");
1874var name = Assert.Single(description.ParameterDescriptions, p => p.Name == $"{groupName}.{parentName}.Child.Name");
1893var c = Assert.Single(description.ParameterDescriptions);
1911var products = Assert.Single(description.ParameterDescriptions);
1930var items = Assert.Single(description.ParameterDescriptions);
1952var id = Assert.Single(parameters, p => p.Name == "Id");
1956var name = Assert.Single(parameters, p => p.Name == "Name");
1974var name = Assert.Single(description.ParameterDescriptions, p => p.Name == "Name");
1978var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "Id");
1997var name = Assert.Single(description.ParameterDescriptions, p => p.Name == "name");
2001var id = Assert.Single(description.ParameterDescriptions, p => p.Name == "Id");
2005var product = Assert.Single(description.ParameterDescriptions, p => p.Name == "Product");
2009var userId = Assert.Single(description.ParameterDescriptions, p => p.Name == "UserId");
2013var comments = Assert.Single(description.ParameterDescriptions, p => p.Name == "Comments");
2022var description = new ApiParameterDescription { Source = BindingSource.Body, };
2036var description = new ApiParameterDescription { Source = BindingSource.Body, };
2050var description = new ApiParameterDescription
2071var description = new ApiParameterDescription
2093var description = new ApiParameterDescription
2111var description = new ApiParameterDescription();
2125var description = new ApiParameterDescription();
2148var description = new ApiParameterDescription
2172var description = new ApiParameterDescription
2195var description = new ApiParameterDescription
2212private static ApiParameterContext GetApiParameterContext(ApiParameterDescription description)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (2)
Microsoft.AspNetCore.OpenApi (23)
Services\Schemas\OpenApiSchemaService.cs (2)
129internal async Task<OpenApiSchema> GetOrCreateSchemaAsync(Type type, IServiceProvider scopedServiceProvider, IOpenApiSchemaTransformer[] schemaTransformers, ApiParameterDescription? parameterDescription = null, bool captureSchemaByRef = false, CancellationToken cancellationToken = default)
149internal async Task ApplySchemaTransformersAsync(OpenApiSchema schema, Type type, IServiceProvider scopedServiceProvider, IOpenApiSchemaTransformer[] schemaTransformers, ApiParameterDescription? parameterDescription = null, CancellationToken cancellationToken = default)