[F] setRoute
function setRoute( context, entity, details): void;Records a route fragment and optionally marks an operation as sharing its route.
Repeated namespace routes must agree; a conflicting namespace fragment reports a diagnostic
and leaves the original fragment unchanged. Passing shared: false does not clear an existing shared mark.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | DecoratorContext |
entity | Operation | Namespace | Interface |
details | RoutePath |
Returns
Section titled “Returns”void