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 /docs/api/swagger/ncmp | |
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 'docs/api/swagger/ncmp')
-rw-r--r-- | docs/api/swagger/ncmp/openapi-inventory.yaml | 7 | ||||
-rw-r--r-- | docs/api/swagger/ncmp/openapi.yaml | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/api/swagger/ncmp/openapi-inventory.yaml b/docs/api/swagger/ncmp/openapi-inventory.yaml index 2d34f0a61a..9e84f3a194 100644 --- a/docs/api/swagger/ncmp/openapi-inventory.yaml +++ b/docs/api/swagger/ncmp/openapi-inventory.yaml @@ -148,6 +148,10 @@ paths: message: Internal Server Error details: Internal Server Error occurred components: + securitySchemes: + basicAuth: + type: http + scheme: basic schemas: RestDmiPluginRegistration: type: object @@ -234,3 +238,6 @@ components: errorText: type: string example: Unknown error. <error-details> + +security: + - basicAuth: []
\ No newline at end of file diff --git a/docs/api/swagger/ncmp/openapi.yaml b/docs/api/swagger/ncmp/openapi.yaml index 44cc2b88a6..b9eee5603d 100644 --- a/docs/api/swagger/ncmp/openapi.yaml +++ b/docs/api/swagger/ncmp/openapi.yaml @@ -1193,6 +1193,10 @@ paths: http-code: 400 body: Bad Request components: + securitySchemes: + basicAuth: + type: http + scheme: basic schemas: ErrorMessage: title: Error @@ -1477,3 +1481,6 @@ components: - conditionName: cmHandleWithCpsPath conditionParameters: - cpsPath: "//state[@data-sync-enabled='true']" + +security: + - basicAuth: [] |