-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Invalid nesting in apiSuccess since Version 0.27.0 #968
Comments
Rolling back version to 26 can solve the problem. |
Fixes issue apidoc#968 that was introduced by the fix apidoc#951 that tried to fix the original issue apidoc#206 This fixes is simply added OR hardcoded "Object[]" while filtering Object, so Object[] won't mess up the sorting (tested and worked for my apidoc) The sorting of the @ApiSucess will fail if there is type {Object[]} exist as one of the @ApiSuccess type, this is due to this sorting ignored Object[] as "Object" type, and treat it as a normal params while sorting.
Does it seem reasonable to all if I just remove the sorting function and let the order in which it was parsed be the one in the output doc? The code is not working anyway and seems hard to fix. Also, I love removing code ^^ |
@NicolasCARPi this will be helpful. also any new params can just b added at last of documentation, instead of comparing various versions. |
Following code:
I just tried it with 0.26.0 - it works just fine.
The text was updated successfully, but these errors were encountered: