Tags
@tsed/schema
Usage
typescript
import { Tags } from "@tsed/schema";
See /packages/specs/schema/src/types/decorators/operations/tags.ts.
Overview
ts
function Tags(...tags: (string | OpenSpecTag)[]): (...args: any[]) => any;
Description
Add tags metadata on the decorated element.
Examples
On method
typescript
@Controller("/")
class MyController {
@Tags("api")
get() {}
}