Skip to content

[T] BaseUriDecorator

type BaseUriDecorator = (context, target, baseUri) => void;

Set the base URI for any schemas emitted from types within this namespace.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetNamespace-
baseUristringthe base URI. Schema IDs inside this namespace are relative to this URI.

Returns

void