Align openapi specs to the actual API

This commit is contained in:
Georg Krause 2022-09-28 17:53:49 +00:00
commit 301cea927a
22 changed files with 153 additions and 111 deletions

View file

@ -53,6 +53,9 @@ def custom_preprocessing_hook(endpoints):
if path.startswith("/api/v1/users/users"):
continue
if path.startswith("/api/v1/mutations"):
continue
if path.startswith(f"/api/{api_type}"):
filtered.append((path, path_regex, method, callback))