Versionning
This commit is contained in:
parent
a4a1c6e271
commit
217cc49019
5 changed files with 16 additions and 11 deletions
|
|
@ -23,8 +23,6 @@ namespace isnd.Controllers
|
|||
public partial class PackagesController : Controller
|
||||
{
|
||||
const int maxTake = 100;
|
||||
|
||||
const string defaultSemVer = "2.0.0";
|
||||
private readonly Resource[] _resources;
|
||||
private readonly ILogger<PackagesController> _logger;
|
||||
private readonly IDataProtector _protector;
|
||||
|
|
@ -55,7 +53,7 @@ namespace isnd.Controllers
|
|||
[HttpGet(_pkgRootPrefix + ApiConfig.Base)]
|
||||
public IActionResult ApiIndex()
|
||||
{
|
||||
return Ok(new ApiIndexViewModel{ Version = "3.0.0", Resources = _resources });
|
||||
return Ok(new ApiIndexViewModel{ Version = PackageManager.BASE_API_LEVEL, Resources = _resources });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue