summaryrefslogtreecommitdiffstats
path: root/cps-ncmp-rest/docs/openapi/openapi-inventory.yml
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2022-10-26 16:46:06 +0000
committerGerrit Code Review <gerrit@onap.org>2022-10-26 16:46:06 +0000
commit8f55ef0b08bfde2878b286c7f2d3029a470db3fc (patch)
tree50a7e6df0cb15e09c0ba6cba47e6ddd02dd5d5bc /cps-ncmp-rest/docs/openapi/openapi-inventory.yml
parent2a18c1df031b3b9fd04784673319e1cd38e12267 (diff)
parent1a65023937c209ae05c8e84093376b737e78320c (diff)
Merge "[NCMP] Add Basic Auth to OpenAPI Definitions"
Diffstat (limited to 'cps-ncmp-rest/docs/openapi/openapi-inventory.yml')
-rwxr-xr-xcps-ncmp-rest/docs/openapi/openapi-inventory.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/cps-ncmp-rest/docs/openapi/openapi-inventory.yml b/cps-ncmp-rest/docs/openapi/openapi-inventory.yml
index 08270bc680..8f8dfe2924 100755
--- a/cps-ncmp-rest/docs/openapi/openapi-inventory.yml
+++ b/cps-ncmp-rest/docs/openapi/openapi-inventory.yml
@@ -24,9 +24,16 @@ info:
version: "1.0"
servers:
- url: /ncmpInventory
+components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
paths:
/v1/ch:
$ref: 'ncmp-inventory.yml#/updateDmiRegistration'
/v1/ch/cmHandles:
- $ref: 'ncmp-inventory.yml#/getAllCmHandleIdsForRegisteredDmi' \ No newline at end of file
+ $ref: 'ncmp-inventory.yml#/getAllCmHandleIdsForRegisteredDmi'
+security:
+ - basicAuth: [] \ No newline at end of file