diff --git a/api/config/schema.py b/api/config/schema.py index 984ff5569..4a0ff9ecd 100644 --- a/api/config/schema.py +++ b/api/config/schema.py @@ -45,6 +45,8 @@ def custom_preprocessing_hook(endpoints): # your modifications to the list of operations that are exposed in the schema api_type = os.environ["API_TYPE"] for (path, path_regex, method, callback) in endpoints: + if path.startswith("/api/v1/providers"): + continue if path.startswith(f"/api/{api_type}"): filtered.append((path, path_regex, method, callback)) return filtered