diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2024-02-28 16:05:07 +0000 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2024-02-29 12:21:52 +0000 |
commit | c5222a72ef11bd440f5c2bd017e820922ff6735a (patch) | |
tree | 072780e0dc9426a0828f29447eedeb4e4f75116d /cps-ncmp-rest/docs/openapi/components.yaml | |
parent | 181c63d7007e685657cbd0d2c9b7693a073835dc (diff) |
Add bearer token to NCMP passthrough operations (CPS-2126 #2)
For NCMP resource data passthrough operations, accept an
authorization header and propagate it to outgoing DMI request
if it has a bearer token, otherwise use same behaviour as before
Issue-ID: CPS-2128
Change-Id: Ib3bf401abce4221a8b706989fb6f07618aa33fe2
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Diffstat (limited to 'cps-ncmp-rest/docs/openapi/components.yaml')
-rw-r--r-- | cps-ncmp-rest/docs/openapi/components.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml index 6b53292af7..cd77effc89 100644 --- a/cps-ncmp-rest/docs/openapi/components.yaml +++ b/cps-ncmp-rest/docs/openapi/components.yaml @@ -629,6 +629,13 @@ components: type: string default: application/json example: application/yang-data+json + authorizationParamInHeader: + name: Authorization + in: header + required: false + description: Authorization parameter for request. + schema: + type: string datastoreName: name: datastore-name in: path |