Skip to main content
Version: Next 🚧

[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-
descriptionstringDescription for this server.
parameters?Type

Returns

void

Optional

Parameters to interpolate in the server url.