Uses of Class
net.cofcool.chaos.server.core.annotation.Scanned
-
Packages that use Scanned Package Description net.cofcool.chaos.server.core.annotation -
-
Uses of Scanned in net.cofcool.chaos.server.core.annotation
Classes in net.cofcool.chaos.server.core.annotation with annotations of type Scanned Modifier and Type Class Description interfaceApi接口属性定义, 包括版本号, 支持设备, 数据过滤, 描述等
如只在method上使用, 需使用@Scanned标注该方法所在的类interfaceApiVersion设定接口版本号, 版本号一致时接口才会允许调用, 值需为int类型, 类似build_version
如果值为ALLOW_ALL, 则适用于所有版本 如果值为DENIAL_ALL, 则禁止访问 可通过ChaosConfiguration.CURRENT_BUILD_VERSION获取当前构建版本
如只在method上使用, 需使用@Scanned标注该方法所在的类interfaceDataAuthExclude排除授权类型, 带有该注解的方法会忽略指定类型的参数注入。
如只在method上使用, 需使用@Scanned标注该方法所在的类, 如果该类已使用@Api注解, 则需使用Api.authExclude()配置, 直接使用DataAuthExclude.value()不会生效。interfaceMultiRequestTypes自定义请求参数解析器。
-