Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[NCMP] Add Basic Auth to OpenAPI Definitions
[cps.git]
/
cps-ncmp-rest
/
docs
/
openapi
/
openapi-inventory.yml
diff --git
a/cps-ncmp-rest/docs/openapi/openapi-inventory.yml
b/cps-ncmp-rest/docs/openapi/openapi-inventory.yml
index
08270bc
..
8f8dfe2
100755
(executable)
--- a/
cps-ncmp-rest/docs/openapi/openapi-inventory.yml
+++ b/
cps-ncmp-rest/docs/openapi/openapi-inventory.yml
@@
-24,9
+24,16
@@
info:
version: "1.0"
servers:
- url: /ncmpInventory
version: "1.0"
servers:
- url: /ncmpInventory
+components:
+ securitySchemes:
+ basicAuth:
+ type: http
+ scheme: basic
paths:
/v1/ch:
$ref: 'ncmp-inventory.yml#/updateDmiRegistration'
/v1/ch/cmHandles:
paths:
/v1/ch:
$ref: 'ncmp-inventory.yml#/updateDmiRegistration'
/v1/ch/cmHandles:
- $ref: 'ncmp-inventory.yml#/getAllCmHandleIdsForRegisteredDmi'
\ No newline at end of file
+ $ref: 'ncmp-inventory.yml#/getAllCmHandleIdsForRegisteredDmi'
+security:
+ - basicAuth: []
\ No newline at end of file