Public/Version/Get-AspireApiVersion.ps1

<#
.SYNOPSIS
    Retrieves the API version from the Aspire API.
.DESCRIPTION
    Uses Invoke-AspireRequest to perform a GET request to the /Version/GetApiVersion endpoint.
.OUTPUTS
    The response from the API containing the API version.
.EXAMPLE
    Get-AspireApiVersion
#>

function Get-AspireApiVersion {
    [CmdletBinding()]
    param()

    return Invoke-AspireRequest -Method GET -Path "/Version/GetApiVersion"
}