Hi All, I use a number of ModelSerializers and would like my generated OpenAPI schema to have a components/schema/<Model> section that is referenced by the responseBody section of my methods. Is this possible? This will make my openapi-generater generated code much cleaner - instead of a lot of InlineType17 and so on I'd get 'MyUserModel'.
The feature in OA is: https://swagger.io/docs/specification/components/ I imagine with DRF we'd see each serializer turned into a section in components/schemas/<SerializerName>. Does this feature exist? Thanks! -Adam -- 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-framework+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/27567e07-974a-4ffe-b0e8-d8dc235f3bf5n%40googlegroups.com.