private async Task <IEnumerable <SpecificationSummary> > GetSpecificationsWithProviderVersionUpdatesAsUseLatest()
        {
            ApiResponse <IEnumerable <SpecificationSummary> > specificationsWithProviderVersionUpdateResponse =
                await _specificationsApiClientPolicy.ExecuteAsync(() =>
                                                                  _specificationsApiClient.GetSpecificationsWithProviderVersionUpdatesAsUseLatest());

            if (specificationsWithProviderVersionUpdateResponse.StatusCode == System.Net.HttpStatusCode.NotFound)
            {
                string errorMessage = "No specification with provider version updates as use latest";
                _logger.Information(errorMessage);
                return(Enumerable.Empty <SpecificationSummary>());
            }

            if (!specificationsWithProviderVersionUpdateResponse.StatusCode.IsSuccess())
            {
                string errorMessage = "Unable to retrieve specification with provider version updates as use latest";
                _logger.Error(errorMessage);
                throw new NonRetriableException(errorMessage);
            }

            return(specificationsWithProviderVersionUpdateResponse.Content);
        }