summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest/docs/openapi/openapi.yml
diff options
context:
space:
mode:
authorJosephKeenan <joseph.keenan@est.tech>2022-10-20 10:33:24 +0100
committerJosephKeenan <joseph.keenan@est.tech>2022-10-24 16:22:06 +0100
commit1a65023937c209ae05c8e84093376b737e78320c (patch)
tree352635a2f6291167568bafe0b6be26408aa5ff65 /cps-ncmp-rest/docs/openapi/openapi.yml
parentb24639de32b2c89346d9888ba0acc9443babb2be (diff)
[NCMP] Add Basic Auth to OpenAPI Definitions
-Adding basic auth to OpenAPI definitions Issue-ID: CPS-1350 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: Iab677f2abc07eed8c3e2910191b15ba27028ee88
Diffstat (limited to 'cps-ncmp-rest/docs/openapi/openapi.yml')
-rwxr-xr-xcps-ncmp-rest/docs/openapi/openapi.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/cps-ncmp-rest/docs/openapi/openapi.yml b/cps-ncmp-rest/docs/openapi/openapi.yml
index 4c546beb26..fe0c4acfc7 100755
--- a/cps-ncmp-rest/docs/openapi/openapi.yml
+++ b/cps-ncmp-rest/docs/openapi/openapi.yml
@@ -25,6 +25,11 @@ info:
version: "1.0"
servers:
- url: /ncmp
+components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
paths:
/v1/ch/{cm-handle}/data/ds/{ncmp-datastore-name}:
$ref: 'ncmp.yml#/resourceDataForCmHandle'
@@ -52,3 +57,5 @@ paths:
/v1/ch/{cm-handle}/data-sync:
$ref: 'ncmp.yml#/setDataSyncEnabledFlag'
+security:
+ - basicAuth: [] \ No newline at end of file