8 writes to MediaType
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (1)
76apiDescription.SupportedRequestFormats.Add(new ApiRequestFormat { MediaType = "application/json" });
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
DefaultApiDescriptionProvider.cs (2)
156MediaType = contentType, 459MediaType = supportedType,
EndpointMetadataApiDescriptionProvider.cs (1)
161MediaType = contentType
Microsoft.AspNetCore.OpenApi (4)
Services\OpenApiDocumentService.cs (4)
599supportedRequestFormats = [new ApiRequestFormat { MediaType = "application/x-www-form-urlencoded" }]; 763supportedRequestFormats = [new ApiRequestFormat { MediaType = "application/octet-stream" }]; 769supportedRequestFormats = [new ApiRequestFormat { MediaType = "application/json-patch+json" }]; 775supportedRequestFormats = [new ApiRequestFormat { MediaType = "application/json" }];
2 references to MediaType
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiDocumentService.cs (2)
739var contentType = requestFormat.MediaType; 788var contentType = requestFormat.MediaType;