-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
Generating documentation causes ClassNotFound from @ApiImplicitParam #2556
Comments
It sounds to me like the bug is that |
Yeah, that could also be the case. Its just that the current stack trace is rather confusing - took a little debugging to figure out what was happening :-) |
Yeah, that's understandable. Can definitely be improved. |
fix #2556 - updated logging for ApiImplicitParam with no datatype defined
Generating documentation from classes containing the
@ApiImplicitParam
annotation generates huge stack traces if the annotation does not contain eitherdataTypeClass
ordataType
parameter.When neither the
dataTypeClass
nor thedataType
property of the the annotation is set an large exception stack trace is printed because the code tries to do classloading of the empty string (the default value fordataType
). The type is defaulted tostring
anyway so maybe the default value in fordataType
in the annotation might be set to string to avoid the large stack trace.This can easily be reproduced generating documentation from a class that contains an
@ApiImplicitParam
annotation with no value set for eitherdataTypeClass
nordataType
.The text was updated successfully, but these errors were encountered: