diff options
author | JosephKeenan <joseph.keenan@est.tech> | 2022-10-20 10:33:24 +0100 |
---|---|---|
committer | JosephKeenan <joseph.keenan@est.tech> | 2022-10-24 16:22:06 +0100 |
commit | 1a65023937c209ae05c8e84093376b737e78320c (patch) | |
tree | 352635a2f6291167568bafe0b6be26408aa5ff65 /cps-ncmp-rest/docs/openapi/openapi-inventory.yml | |
parent | b24639de32b2c89346d9888ba0acc9443babb2be (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-inventory.yml')
-rwxr-xr-x | cps-ncmp-rest/docs/openapi/openapi-inventory.yml | 9 |
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 |