From b1dee39e354c7a199168454b8e91c48dcb1f86a3 Mon Sep 17 00:00:00 2001 From: xp2083 Date: Tue, 30 Apr 2024 18:08:44 -0400 Subject: [PATCH] remove authentication --- service/__init__.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/service/__init__.py b/service/__init__.py index d4d1664..c57ded9 100644 --- a/service/__init__.py +++ b/service/__init__.py @@ -28,13 +28,13 @@ api = None # pylint: disable=invalid-name # Document the type of authorization required -authorizations = { - "apikey": { - "type": "apiKey", - "in": "header", - "name": "X-Api-Key", - } -} +# authorizations = { +# "apikey": { +# "type": "apiKey", +# "in": "header", +# "name": "X-Api-Key", +# } +# } ############################################################ @@ -58,7 +58,7 @@ def create_app(): default="shopcarts", default_label="Shopcart operations", doc="/apidocs", - authorizations=authorizations, + # authorizations=authorizations, prefix="/api", )