public ILocatedOpenApiElement <OpenApiMediaType>?Select(ILocatedOpenApiElement <OpenApiResponse> response) => response .GetMediaTypes() .FirstOrDefault(p => p.Key == "application/json");
public ILocatedOpenApiElement <OpenApiMediaType>?Select(ILocatedOpenApiElement <OpenApiRequestBody> requestBody) => requestBody .GetMediaTypes() .FirstOrDefault(p => p.Key == "application/json");
public ILocatedOpenApiElement <OpenApiMediaType>?Select(ILocatedOpenApiElement <OpenApiResponse> response) => response .GetMediaTypes() .Select(mediaType => (mediaType, descriptor: _serializerSelector.Select(mediaType)))