import { Router } from '@classes' ; import { MainController } from '@controllers/main.controller' ; apiDefine apiHeader apiHeader apiDefine apiHeader apiHeader apiHeader apiDefine apiHeader apiHeader apiHeader apiDefine apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccessExample apiDefine apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccess apiSuccessExample apiDefine apiSuccess apiSuccessExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample apiDefine apiErrorExample export class MainRouter extends Router { constructor ( ) { super ( ) ; } description define ( ) { api apiDescription apiVersion apiName apiGroup apiPermission apiUse apiSuccess apiSuccessExample apiError apiUse apiError apiUse this . router . route ( '/status' ) . get ( MainController . status ) ; api apiDescription apiVersion apiName apiGroup apiPermission apiUse apiSuccess apiSuccessExample apiError apiUse this . router . route ( '/report-violation' ) . post ( MainController . report ) ; } }