Skip to content
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

Json $Ref Error in response #628

Closed
raianul opened this issue Jan 3, 2022 · 2 comments
Closed

Json $Ref Error in response #628

raianul opened this issue Jan 3, 2022 · 2 comments

Comments

@raianul
Copy link

raianul commented Jan 3, 2022

Hello I'm getting this error in my swagger UI. Anyway to fix this?
kson

@tfranzel
Copy link
Owner

tfranzel commented Jan 3, 2022

#378 (comment)

you reference definitions that are nested inside a component? I don't know if that is even legal. Apparently SwaggerUI looks for definitions in a different location. This is not part of drf-spectacular functionality anyway.

https://swagger.io/docs/specification/using-ref/

@tfranzel
Copy link
Owner

tfranzel commented Jan 9, 2022

closing this issue for now. feel free to comment if anything is missing or not working and we will follow-up.

@tfranzel tfranzel closed this as completed Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants