Hi folks,

I'd like to limit the request body types I accept to just JSON (this is
oddly to work around an `openapi-generator` bug). I see that I can add a
`accepted_media_type` to requests - but is there a way to do this for all
DRF requests?

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/CAEP43uPn7UR4gDECrHHk6eZj%3Dnd9y3ETs2irSRJgrq-gFJWSHA%40mail.gmail.com.

Reply via email to