Skip to content

[F] getClientNamespaceString

function getClientNamespaceString(context): undefined | string

Parameters

ParameterTypeDescription
contextTCGCContext

Returns

undefined | string

Deprecated

Access namespace information by iterating through sdkPackage.namespaces instead Get the clientโ€™s namespace for generation. If package-name is passed in config, we return that value as our namespace. Otherwise, we default to the TypeSpec service namespace.