summaryrefslogtreecommitdiffstats
path: root/docs/api
diff options
context:
space:
mode:
authorJosephKeenan <joseph.keenan@est.tech>2022-10-26 15:17:59 +0100
committerJoseph Keenan <joseph.keenan@est.tech>2022-11-07 09:40:27 +0000
commitdfe45ff193716ce80b993e0a44c239ad52a8d9fe (patch)
tree0a4d503fbba0cea982d3426818c05b83d5ab2699 /docs/api
parent98df7fcfd3945ebd3aeed0824b513e2573ea0aed (diff)
[DMI] Add Basic Auth to OpenAPI Definitions
-Adding basic auth to OpenAPI definitions Issue-ID: CPS-1350 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I33423ba50683bc76395ddbb8ef7afc1c185bf4b5
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/swagger/openapi.yaml7
1 files changed, 7 insertions, 0 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