openteamsinc / scrud-django

A Django application for SCRUD REST services. Semantic REST API generation.
https://openteamsinc.github.io/scrud-django/
0 stars 0 forks source link

Define a `@scrudful_api_view` decorator #23

Closed dcharbon closed 3 years ago

dcharbon commented 3 years ago

This will wrap the django rest framework @api_view decorator with the @scrudful decorator. This will require adding support for OPTIONS to the ScrudfulViewFunc.__call__ method, using the http_schema_or_func parameter.

The http_schema_or_func parameter MUST accept one of: