-
Notifications
You must be signed in to change notification settings - Fork 183
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
Flattening of nested models is really confusing in APIView for Swaggers #5582
Comments
This will be a change in the parser. Should not be too hard but we need to investigate. |
Given the request to link models anyway (from elsewhere - not just me), seems that part should come for "free". Just need to stop unrolling the nested models into this location such that, for example, only |
In the interim, how hard would it be to link to the original swagger - whether in a PR or whatever the originating branch is from? Often times I feel confused by APIView (like this as a prime example) and need to double check with the swagger. |
The PR is sufficient, since I can still view the individual swagger that way: either the diff, or click "View file" on the web to view the whole file. Thank you. I had not noticed that. I typically collapse options. |
Based on the swagger, only a
ResolvedConstentList
is returned, but this "flattening" of models makes it seem like either could be returned:See APIView for more examples.
I would just show the response model (if any) and make sure the properties are linked to the definitions.
The text was updated successfully, but these errors were encountered: