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