mirror of
https://github.com/certd/certd.git
synced 2026-07-07 21:17:42 +08:00
chore: swagger support
This commit is contained in:
@@ -7,11 +7,13 @@ import { SelectQueryBuilder } from "typeorm";
|
||||
import { logger } from "@certd/basic";
|
||||
import fs from "fs";
|
||||
import dayjs from "dayjs";
|
||||
import { ApiTags } from "@midwayjs/swagger";
|
||||
|
||||
/**
|
||||
*/
|
||||
@Provide()
|
||||
@Controller('/api/monitor/cert')
|
||||
@ApiTags(['cert'])
|
||||
export class CertInfoController extends CrudController<CertInfoService> {
|
||||
@Inject()
|
||||
service: CertInfoService;
|
||||
|
||||
Reference in New Issue
Block a user