From dfe45ff193716ce80b993e0a44c239ad52a8d9fe Mon Sep 17 00:00:00 2001 From: JosephKeenan Date: Wed, 26 Oct 2022 15:17:59 +0100 Subject: [DMI] Add Basic Auth to OpenAPI Definitions -Adding basic auth to OpenAPI definitions Issue-ID: CPS-1350 Signed-off-by: JosephKeenan Change-Id: I33423ba50683bc76395ddbb8ef7afc1c185bf4b5 --- openapi/components.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openapi') diff --git a/openapi/components.yml b/openapi/components.yml index 049701e4..6124d647 100644 --- a/openapi/components.yml +++ b/openapi/components.yml @@ -18,6 +18,10 @@ # ============LICENSE_END========================================================= components: + securitySchemes: + basicAuth: + type: http + scheme: basic schemas: ErrorMessage: type: object @@ -209,3 +213,6 @@ components: examples: sample1: value: my-topic-name + +security: + - basicAuth: [] \ No newline at end of file -- cgit 1.2.3-korg