We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
举例来说,我可能是通过调用方在Header中传递token,后端在拦截器中统一转换为一个User对象。 效果如下: XXController{
public ResutVO getXXX(@requestbody Object o1, User user){
} } 其中User其实并不需要调用方传递,此时生成的接口文档,会默认把User按照query param生成。如果我想统一处理这个参数的忽略该怎么处理
The text was updated successfully, but these errors were encountered:
用param.ignore, 类似这样:
param.ignore=groovy:it.type().name()=="com.itangcent.common.model.UserInfo"
Sorry, something went wrong.
No branches or pull requests
举例来说,我可能是通过调用方在Header中传递token,后端在拦截器中统一转换为一个User对象。
效果如下:
XXController{
public ResutVO getXXX(@requestbody Object o1, User user){
}
}
其中User其实并不需要调用方传递,此时生成的接口文档,会默认把User按照query param生成。如果我想统一处理这个参数的忽略该怎么处理
The text was updated successfully, but these errors were encountered: