Comment on Show HN: Django REST – Typed ViewsComments−rsinger87OP6yI wanted wanted to share a package I made to enable use of type annotations for automatic validation/sanitization in Django REST Framework.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 about how they do something similar with Django views (https://instagram-engineering.com/types-for-python-http-apis...).
Comments
I wanted wanted to share a package I made to enable use of type annotations for automatic validation/sanitization in Django REST Framework.
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 about how they do something similar with Django views (https://instagram-engineering.com/types-for-python-http-apis...).