Interface IParameterOptionsWithUrlSource

Options for Parameter decorator, which defines the source of the paremeter from URL parameter.

interface IParameterOptionsWithUrlSource {
    name?: Nilable<string>;
    source?: Nilable<"url">;
    transformTo?: Nilable<ParameterDataTransformTo>;
}

Hierarchy

Properties

name?: Nilable<string>

The custom name of the url parameter.

source?: Nilable<"url">

The name of the source.

transformTo?: Nilable<ParameterDataTransformTo>

A custom function, which transforms input data to a new format / type.

Generated using TypeDoc