From a86172fda426ab24dc5e82c84b380fe110f169fc Mon Sep 17 00:00:00 2001 From: shopeonarope Date: Thu, 3 Dec 2020 19:49:45 -0700 Subject: [PATCH] Add security to openapi spec --- openapi/openapi.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index d2b36cdf..d2329c31 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -12,6 +12,9 @@ 'servers': - 'url': '/control' +'security': +- 'basicAuth': [] + 'tags': - 'name': 'clients' 'description': 'Clients list operations' @@ -2084,3 +2087,7 @@ 'description': 'The error message, an opaque string.' 'type': 'string' 'type': 'object' + 'securitySchemes': + 'basicAuth': + 'type': 'http' + 'scheme': 'basic'