def api_view(injector):
handler = create_handler(APIView, injector)<EOL>apply_http_methods(handler, injector)<EOL>apply_api_view_methods(handler, injector)<EOL>return injector.let(as_view=handler.as_view)<EOL>
Create DRF class-based API view from injector class.