11 references to AcceptsMetadata
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
2101
factoryContext.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(contentTypes, type, factoryContext.AllowEmptyRequestBody));
Microsoft.AspNetCore.Identity (8)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (8)
73
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.RegisterRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
192
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.LoginRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
378
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.RefreshRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
640
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.ResendConfirmationEmailRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
759
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.ForgotPasswordRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
875
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.ResetPasswordRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
991
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.TwoFactorRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
1212
options.EndpointBuilder.Metadata.Add(new
AcceptsMetadata
(type: typeof(global::Microsoft.AspNetCore.Identity.Data.InfoRequest), isOptional: false, contentTypes: GeneratedMetadataConstants.JsonContentType));
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
426
builder.Metadata.Add(new
AcceptsMetadata
(consumesAttribute.ContentTypes.ToArray()));
Microsoft.AspNetCore.Routing (1)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (1)
280
return builder.WithMetadata(new
AcceptsMetadata
(contentTypes, requestType, isOptional));