mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
chore: 修改权限判断字段从summary改成description
This commit is contained in:
@@ -8,12 +8,12 @@ import {BaseController, Constants} from '@certd/lib-server';
|
||||
export class HealthController extends BaseController {
|
||||
|
||||
|
||||
@Get('/liveliness', { summary: Constants.per.guest })
|
||||
@Get('/liveliness', { description: Constants.per.guest })
|
||||
async liveliness(): Promise<any> {
|
||||
return this.ok('ok')
|
||||
}
|
||||
|
||||
@Get('/readiness', { summary: Constants.per.guest })
|
||||
@Get('/readiness', { description: Constants.per.guest })
|
||||
async readiness(): Promise<any> {
|
||||
return this.ok('ok')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user