Skip to main content
Version: Next 🚧

[F] $flattenProperty

function $flattenProperty(
context,
target,
scope?): void

Whether a model property should be flattened.

Parameters​

ParameterTypeDescription
contextDecoratorContextDecoratorContext
targetModelPropertyModelProperty to mark as flattened
scope?stringNames of the projection (e.g. "python", "csharp", "java", "javascript")

Returns​

void

Deprecated​

This decorator is not recommended to use.