All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.devops.common.web.annotation.BkApiPermission.kt Maven / Gradle / Ivy

There is a newer version: 3.1.0-rc.4
Show newest version
package com.tencent.devops.common.web.annotation

import com.tencent.devops.common.web.constant.BkApiHandleType

/**
 * 蓝盾API校验
 *
 * 使用场景: 插件调用蓝盾API接口,根据具体业务场景(支持的业务场景见BkApiHandleType枚举类)加上此注解进行校验
 * 使用方式: 在API的实现方法上加上此注解
 */
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class BkApiPermission(
    val types: Array
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy