summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <kanagaraj.manickam@huawei.com>2018-01-02 07:13:16 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-02 07:13:16 +0000
commit997dc66cc6a9f14e44be2ae36de35ca40b8ff176 (patch)
treeb895bf479686c34a01f80e1c4e19115463b2bcf7
parent14625e87bb52f461adebfb60dcfae53d2711d1b3 (diff)
parent93444c93b702dc92b0f77e79e92990fdf0fdc36f (diff)
Merge "Fix yaml for validation error"
-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