summaryrefslogtreecommitdiffstats
path: root/cps-rest
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-rest
parent2a18c1df031b3b9fd04784673319e1cd38e12267 (diff)
parent1a65023937c209ae05c8e84093376b737e78320c (diff)
Merge "[NCMP] Add Basic Auth to OpenAPI Definitions"
Diffstat (limited to 'cps-rest')
-rw-r--r--cps-rest/docs/openapi/openapi.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/cps-rest/docs/openapi/openapi.yml b/cps-rest/docs/openapi/openapi.yml
index 76bdb80c23..290bbf44b2 100644
--- a/cps-rest/docs/openapi/openapi.yml
+++ b/cps-rest/docs/openapi/openapi.yml
@@ -37,6 +37,11 @@ info:
servers:
- url: /cps/api
+components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
tags:
- name: cps-admin
description: cps Admin
@@ -70,3 +75,6 @@ paths:
/v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes/query:
$ref: 'cpsQuery.yml#/nodesByDataspaceAndAnchorAndCpsPath'
+
+security:
+ - basicAuth: [] \ No newline at end of file