Skip to content

[I] PathParameterOptions

Path parameter options with all defaults resolved: simple style, no expansion, and reserved characters encoded unless overridden by the decorator or URI template.

  • Required<PathOptions>
PropertyModifierTypeDescriptionInherited from
allowReservedreadonlybooleanWhen interpolating this parameter do not encode reserved characters. Equivalent of adding + in the path parameter as per RFC-6570Required.allowReserved
explodereadonlybooleanWhen interpolating this parameter in the case of array or object expand each value using the given style. Equivalent of adding * in the path parameter as per RFC-6570Required.explode
namereadonlystringName of the parameter in the URI template.Required.name
stylereadonly"simple" | "label" | "matrix" | "fragment" | "path"Different interpolating styles for the path parameter. - simple: No special encoding. - label: Using . separator. - matrix: ; as separator. - fragment: # as separator. - path: / as separator.Required.style
typepublic"path"Identifies a value interpolated into the URI path.-