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