New check_accept_header_wrapper block auto-documentation of REST endpoints
Motivation
----------
The addition of the `check_accept_header_wrapper` decorator method in the flask rest api blocks the auto-documentation of the GET endpoints. These endpoints (mostly GET) are now removed from readthedocs. Needs to be fixed.

diff --git a/lib/rucio/web/rest/flaskapi/v1/common.py b/lib/rucio/web/rest/flaskapi/v1/common.py
index 719076d4e..359c23180 100755
--- a/lib/rucio/web/rest/flaskapi/v1/common.py
+++ b/lib/rucio/web/rest/flaskapi/v1/common.py
@@ -20,6 +20,7 @@
 # PY3K COMPATIBLE
 
 from __future__ import print_function
+from functools import wraps
 from flask import request
 from time import time
 from traceback import format_exc
@@ -69,6 +70,7 @@ def after_request(response):
 def check_accept_header_wrapper_flask(supported_content_types):
     """ Decorator to check if an endpoint supports the requested content type. """
     def wrapper(f):
+        @wraps(f)
         def decorated(*args, **kwargs):
             requested_content_type = request.environ.get('HTTP_ACCEPT')
             request_type_allowed = True
['lib/rucio/web/rest/flaskapi/v1/common.py']