Skip to main content
Version: Next 🚧

[F] $sharedRoute

function $sharedRoute(context, target): void

@sharedRoute marks the operation as sharing a route path with other operations.

When an operation is marked with @sharedRoute, it enables other operations to share the same route path as long as those operations are also marked with @sharedRoute.

@sharedRoute can only be applied directly to operations.

Parameters

ParameterType
contextDecoratorContext
targetOperation

Returns

void