From 95961d4b7b30667401630bc77c4c9ef84fe89ba2 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Mon, 28 Sep 2020 00:07:00 +0200 Subject: [PATCH] Add routing for entities handlers --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index 5dc8a51..88014a2 100644 --- a/app.py +++ b/app.py @@ -103,6 +103,8 @@ def make_app(_auth_provider=None, gitmgr=None): (version_path + r"/health", HealthHandler, {"sources": [lambda: {"git-head": gitmgr.head_sha}] if gitmgr else None}), (version_path + r"/oas3", Oas3Handler), + (version_path + r"/entities", AllEntitiesHandler, {"auth_provider": _auth_provider}), + (version_path + r"/entity/{.*}", SingleEntityHandler, {"auth_provider": _auth_provider}), ])