Skip to content

[T] BaseUriDecorator

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

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

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

void