Component schema missing with update to 3.12

11 views
Skip to first unread message

Stefano Tranquillini

unread,
Oct 12, 2020, 11:10:39 AM10/12/20
to Django REST framework
Hello
i've just update the DRF and it seems that there's a missing ref in my openAPI docs

i've this in the result type:

but in components there's no schemas

we actually extended the generator, but i'm not sure what has changed. till the version 3.11 it was working (there was no reference but data were "inline"). with this update it does not work anymore.

Alan Crosswell

unread,
Oct 12, 2020, 11:23:40 AM10/12/20
to django-res...@googlegroups.com
Perhaps you mean to paste something in there, but if you extended in 3.11, you'll want to review carefully because a fair amount has changed in 3.12, especially the whole components/schemas and $ref's to them.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/3ac776d1-a20b-4135-b38c-1c65338e304an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages