Skip to content

[F] $example

function $example(
context,
target,
pathOrUri,
title): void

@example - attaches example files to an operation. Multiple examples can be specified.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetOperation-
pathOrUristringpath or Uri to the example file.
titlestringname or description of the example file. @example can be specified on Operations.

Returns

void