Hi there, just wanted to share a package I made to enable use of type 
annotations for automatic validation/sanitization in Django REST Framework.

*Github repo/docs*: https://github.com/rsinger86/drf-typed-views

I've borrowed ideas from the original API Star 
<https://github.com/encode/apistar> (before it was an OpenAPI toolkit) and 
FastAPI <https://fastapi.tiangolo.com/>. Instagram engineering also had a 
recent 
blog post 
<https://instagram-engineering.com/types-for-python-http-apis-an-instagram-story-d3c3a207fdb7>
 
about how they do something similar with Django views.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/c747f341-a950-4aaf-9078-f9370805a59f%40googlegroups.com.

Reply via email to