Version(version: string): SetuClassDecorator
Assigns an API version prefix to a controller. Combined with @Controller,
the effective path is version + basePath + routePath
(e.g. '/v1/users').
A class decorator
Version(version: string): SetuClassDecorator
Assigns an API version prefix to a controller. Combined with @Controller,
the effective path is version + basePath + routePath
(e.g. '/v1/users').
A class decorator
import { Version } from "decorator-plugin/src/index.ts";