Skip to content

invalid-api-version-override

Id
@azure-tools/typespec-azure-core/invalid-api-version-override

Severity: error

The value passed to @Azure.Core.Legacy.overrideApiVersion must contain at least one non-whitespace character.

@Azure.Core.Legacy.overrideApiVersion("")
namespace Service {
}

Provide the opaque API-version wire value expected by the generated client.

@Azure.Core.Legacy.overrideApiVersion("2021-11-01")
namespace Service {
}