summaryrefslogtreecommitdiffstats
path: root/profiles/http/src/main/resources
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2017-12-29 06:09:30 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2017-12-29 06:09:30 +0000
commit93444c93b702dc92b0f77e79e92990fdf0fdc36f (patch)
tree1411c59be6966b4df96740a01e9659b9411ca85c /profiles/http/src/main/resources
parent12d665b771c56a7da1efc25ecd7214484ef89c89 (diff)
Fix yaml for validation error
Fix yaml for logout and catalog for reported validation error. Change-Id: I5d3bb8696d703348c5e98d66bd733cb4d3bca3a7 Issue-ID: CLI-87 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'profiles/http/src/main/resources')
-rw-r--r--profiles/http/src/main/resources/open-cli-schema/http/basic-logout.yaml6
-rw-r--r--profiles/http/src/main/resources/open-cli-schema/http/catalog.yaml6
2 files changed, 12 insertions, 0 deletions
diff --git a/profiles/http/src/main/resources/open-cli-schema/http/basic-logout.yaml b/profiles/http/src/main/resources/open-cli-schema/http/basic-logout.yaml
index f4acc0ae..b3e1744e 100644
--- a/profiles/http/src/main/resources/open-cli-schema/http/basic-logout.yaml
+++ b/profiles/http/src/main/resources/open-cli-schema/http/basic-logout.yaml
@@ -12,8 +12,14 @@ info:
parameters:
- name: host-username
+ type: string
+ description: username for logout
is_include: false
- name: host-password
+ type: string
+ description: user password for logout
is_include: false
- name: no-auth
+ type: bool
+ description: whether to authenticate user or not
is_include: false \ No newline at end of file
diff --git a/profiles/http/src/main/resources/open-cli-schema/http/catalog.yaml b/profiles/http/src/main/resources/open-cli-schema/http/catalog.yaml
index 508955f5..7881a244 100644
--- a/profiles/http/src/main/resources/open-cli-schema/http/catalog.yaml
+++ b/profiles/http/src/main/resources/open-cli-schema/http/catalog.yaml
@@ -24,10 +24,16 @@ parameters:
long_option: catalog-service-version
is_optional: false
- name: host-username
+ type: string
+ description: username for catalog
is_include: false
- name: host-password
+ type: string
+ description: password for catalog
is_include: false
- name: no-auth
+ type: bool
+ description: whether to authenticate user or not
is_include: false
results:
direction: portrait