Skip to content

[F] getHttpService

function getHttpService(
program,
serviceNamespace,
options?
): [HttpService, readonly Diagnostic[]];

Resolves a namespace’s HTTP operations and directly declared authentication, validating endpoint uniqueness. Does not recurse into nested namespaces when resolving the global namespace. Returns resolution and duplicate-route diagnostics alongside the service.

ParameterType
programProgram
serviceNamespaceNamespace
options?RouteResolutionOptions

[HttpService, readonly Diagnostic[]]