import { ApiTags } from '@nestjs/swagger' ; export const ApiName = ( target ) => { if ( ! isDev ) { return ; } const [ name ] = target . name . split ( 'Controller' ) ; ApiTags ( name + ' Routes' ) . call ( null , target ) ; } ;