3 instantiations of BodyDescriptorInfo
Microsoft.AspNetCore.Grpc.Swagger (3)
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (3)
431
return new
BodyDescriptorInfo
(bodyDescriptor.ContainingType, bodyDescriptor, isDescriptorRepeated: true, propertyInfo);
435
return new
BodyDescriptorInfo
(bodyDescriptor.MessageType, bodyDescriptor, isDescriptorRepeated: false, propertyInfo);
447
return new
BodyDescriptorInfo
(methodDescriptor.InputType, fieldDescriptor: null, isDescriptorRepeated: false, parameterInfo: requestParameter);
2 references to BodyDescriptorInfo
Microsoft.AspNetCore.Grpc.Swagger (2)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (1)
124
var
bodyDescriptor = ServiceDescriptorHelpers.ResolveBodyDescriptor(httpRule.Body, methodMetadata.ServiceType, methodDescriptor);
src\Grpc\JsonTranscoding\src\Shared\ServiceDescriptorHelpers.cs (1)
408
public static
BodyDescriptorInfo
? ResolveBodyDescriptor(string body, Type serviceType, MethodDescriptor methodDescriptor)