Page Contents

Home > @loopback/openapi-spec-builder > OperationSpecBuilder > withTags

OperationSpecBuilder.withTags() method

Describe tags associated with the operation

Signature:

withTags(tags: string | string[]): this;

Parameters

Parameter Type Description
tags string | string[]  

Returns:

this