[F] getEffectivePayloadType
function getEffectivePayloadType(context, type): ModelIf the given type is an anonymous model and all of its properties excluding header/query/path/status-code are sourced from a named model, returns that original named model. Otherwise the given type is returned unchanged.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | TCGCContext | |
type | Model |
Returns
Model