knife4j
knife4j copied to clipboard
允许全局忽略带有特定注解的参数
Is your feature request related to a problem? Please describe.
以 @AuthenticationPrincipal 为例,这个注解用来向 Controller 注入 SecurityContext 中的对象,不需要被当做查询参数展示到文档中。
Describe the solution you'd like
提供配置类,允许开发者全局忽略带有特定注解的参数。
Describe alternatives you've considered
Additional context
@Ignore 注解似乎失效了。