diff options
-rw-r--r-- | docs/api/swagger/openapi.yaml | 7 | ||||
-rw-r--r-- | docs/release-notes.rst | 2 | ||||
-rw-r--r-- | openapi/components.yml | 7 |
3 files changed, 15 insertions, 1 deletions
diff --git a/docs/api/swagger/openapi.yaml b/docs/api/swagger/openapi.yaml index 41ebedf8..101b93bf 100644 --- a/docs/api/swagger/openapi.yaml +++ b/docs/api/swagger/openapi.yaml @@ -344,6 +344,10 @@ paths: message: Internal Server Error details: Internal Server Error occured components: + securitySchemes: + basicAuth: + type: http + scheme: basic schemas: ModuleReferencesRequest: type: object @@ -456,3 +460,6 @@ components: type: array items: $ref: '#/components/schemas/ModuleResourcesReadRequest_data_modules' + +security: + - basicAuth: []
\ No newline at end of file diff --git a/docs/release-notes.rst b/docs/release-notes.rst index aefd074d..6421e9f8 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -40,7 +40,7 @@ Release Data Bug Fixes --------- - - None + - `CPS-1350 <https://jira.onap.org/browse/CPS-1350>`_ [CPS/NCMP] Add Basic Auth to CPS/NCMP OpenAPI Definitions Version: 1.2.1 diff --git a/openapi/components.yml b/openapi/components.yml index 049701e4..6124d647 100644 --- a/openapi/components.yml +++ b/openapi/components.yml @@ -18,6 +18,10 @@ # ============LICENSE_END========================================================= components: + securitySchemes: + basicAuth: + type: http + scheme: basic schemas: ErrorMessage: type: object @@ -209,3 +213,6 @@ components: examples: sample1: value: my-topic-name + +security: + - basicAuth: []
\ No newline at end of file |