Skip to content

[F] getCrossLanguageDefinitionId

function getCrossLanguageDefinitionId(
context,
type,
operation?,
appendNamespace?): string;

Helper function to return cross language definition id for a type

ParameterTypeDefault valueDescription
contextTCGCContextundefined-
type| Enum | Interface | Model | ModelProperty | Namespace | Operation | Scalar | Unionundefined
operation?Operationundefined-
appendNamespace?booleantrue-

string