From: subhash kumar singh Date: Fri, 29 Dec 2017 06:09:30 +0000 (+0000) Subject: Fix yaml for validation error X-Git-Tag: v2.0.0~15^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=93444c93b702dc92b0f77e79e92990fdf0fdc36f;p=cli.git 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 --- 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