import { Get , JsonController } from 'routing-controllers' ; import { APIInfo } from '../models/APIInfo' ; @ JsonController ( '/' ) export class APIInfoController { api apiName apiGroup apiSuccess apiSuccessExample @ Get ( ) getDependencies ( ) { return new APIInfo ( 'up' ) ; } }