[NCMP] Add Basic Auth to OpenAPI Definitions
[cps.git] / cps-rest / docs / openapi / openapi.yml
index 76bdb80..290bbf4 100644 (file)
@@ -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