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)
632var parameterSchema = await _componentService.GetOrCreateSchemaAsync(document, description.Type, scopedServiceProvider, schemaTransformers, description, cancellationToken: cancellationToken); 635if (description.Type == typeof(IFormFile) || description.Type == typeof(IFormFileCollection)) 721propertySchema.Properties[description.Name] = await _componentService.GetOrCreateSchemaAsync(document, description.Type, scopedServiceProvider, schemaTransformers, description, cancellationToken: cancellationToken); 731schema.Properties[description.Name] = await _componentService.GetOrCreateSchemaAsync(document, description.Type, scopedServiceProvider, schemaTransformers, description, cancellationToken: cancellationToken); 759if (bodyParameter.Type == typeof(Stream) || bodyParameter.Type == typeof(PipeReader)) 765else if (bodyParameter.Type.IsJsonPatchDocument()) 789var schema = await _componentService.GetOrCreateSchemaAsync(document, bodyParameter.Type, scopedServiceProvider, schemaTransformers, bodyParameter, cancellationToken: cancellationToken); 816var parameterType = parameter.Type is not null 817? Nullable.GetUnderlyingType(parameter.Type) ?? parameter.Type 818: parameter.Type; 823&& parameter.ModelMetadata.ModelType != parameter.Type 831: parameter.Type;
Services\Schemas\OpenApiSchemaService.cs (1)
258if (parameterDescription is { Source: { } source, Type: { } paramType }