Skip to content

[F] $server

function $server(
context,
target,
url,
description?,
parameters?): void

Configure the server url for the service.

Parameters

ParameterTypeDescription
contextDecoratorContextDecorator context
targetNamespaceDecorator target (must be a namespace)
urlstring-
description?stringDescription for this server.
parameters?Type

Returns

void

Optional

Parameters to interpolate in the server url.