swagger generated interface documentation, ignoring custom annotation parameters out interface

 

swagger will request a custom annotation package of the current user to generate a document which, we all need to ignore or too messy when generating documents.

 

 Add the following parameters of the config swagger, the custom annotations added to them, the plurality of parameters can be

 

.ignoredParameterTypes(CurrentUser.class)

solve

Published 66 original articles · won praise 85 · Views 140,000 +

Guess you like

Origin blog.csdn.net/qq_38380025/article/details/102589397