[NCMP] Add Basic Auth to OpenAPI Definitions
[cps.git] / docs / api / swagger / ncmp / openapi.yaml
index 44cc2b8..b9eee56 100644 (file)
@@ -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: []