4 writes to Type
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
DefaultApiDescriptionProvider.cs (1)
679Type = GetModelType(bindingContext.ModelMetadata),
EndpointMetadataApiDescriptionProvider.cs (2)
149Type = acceptsRequestType ?? typeof(void), 195Type = parameter.ParameterInfo.ParameterType,
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
JsonPatchOperationsArrayProvider.cs (1)
46parameterDescription.Type = typeof(Operation[]);
20 references to Type
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
143var requestFormats = GetSupportedFormats(contentTypes, parameter.Type);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
JsonPatchOperationsArrayProvider.cs (1)
44if (typeof(IJsonPatchDocument).GetTypeInfo().IsAssignableFrom(parameterDescription.Type))
Microsoft.AspNetCore.OpenApi (18)
Extensions\JsonNodeSchemaExtensions.cs (1)
365&& parameterDescription.Type is { } paramType)
Extensions\TypeExtensions.cs (1)
77var parameterType = apiParameterDescription.Type;
Services\OpenApiDocumentService.cs (15)
721var parameterSchema = await _componentService.GetOrCreateSchemaAsync(document, description.Type, scopedServiceProvider, schemaTransformers, description, cancellationToken: cancellationToken); 724if (description.Type == typeof(IFormFile) || description.Type == typeof(IFormFileCollection)) 810propertySchema.Properties[description.Name] = await _componentService.GetOrCreateSchemaAsync(document, description.Type, scopedServiceProvider, schemaTransformers, description, cancellationToken: cancellationToken); 820schema.Properties[description.Name] = await _componentService.GetOrCreateSchemaAsync(document, description.Type, scopedServiceProvider, schemaTransformers, description, cancellationToken: cancellationToken); 848if (bodyParameter.Type == typeof(Stream) || bodyParameter.Type == typeof(PipeReader)) 854else if (bodyParameter.Type.IsJsonPatchDocument()) 878var schema = await _componentService.GetOrCreateSchemaAsync(document, bodyParameter.Type, scopedServiceProvider, schemaTransformers, bodyParameter, cancellationToken: cancellationToken); 905var parameterType = parameter.Type is not null 906? Nullable.GetUnderlyingType(parameter.Type) ?? parameter.Type 907: parameter.Type; 912&& parameter.ModelMetadata.ModelType != parameter.Type 920: parameter.Type;
Services\Schemas\OpenApiSchemaService.cs (1)
259if (parameterDescription is { Source: { } source, Type: { } paramType }