Compilation warns

This commit is contained in:
2022-04-17 16:22:40 +01:00
parent 217cc49019
commit 4191513eef
22 changed files with 72 additions and 57 deletions

View File

@ -71,33 +71,23 @@ namespace isnd.Services
Type = "SearchQueryService/" + BASE_API_LEVEL,
Comment = "Search Query service"
});
/*
{
"@id": "https://api-v2v3search-0.nuget.org/query",
"@type": "SearchQueryService/3.0.0-rc",
"comment": "Query endpoint of NuGet Search service (primary) used by RC clients"
},
if (unleashClient.IsEnabled("pkg-catalog", false))
res.Add(
new Resource
{
Id = extUrl + ApiConfig.Catalog,
Type = "Catalog/3.0.0",
Type = "Catalog/"+ BASE_API_LEVEL,
Comment = "Package Catalog Index"
});*/
/* TODO ? {
"@id": "https://api.nuget.org/v3/registration5-gz-semver2/",
"@type": "RegistrationsBaseUrl/Versioned",
"clientVersion": "4.3.0-alpha",
"comment": "Base URL of Azure storage where NuGet package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
},
*/
});
if (unleashClient.IsEnabled("pkg-registration", false))
res.Add(
new Resource
{
Id = extUrl + ApiConfig.Registration,
Type = "Catalog/" + BASE_API_LEVEL,
Comment = "Base URL of storage where isn package registration info is stored in GZIP format. This base URL includes SemVer 2.0.0 packages."
});
return res;
}
public PackageIndexViewModel SearchByName(string query,