summaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources/open-cli-schema/schema-validate.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/main/resources/open-cli-schema/schema-validate.yaml')
-rw-r--r--framework/src/main/resources/open-cli-schema/schema-validate.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/framework/src/main/resources/open-cli-schema/schema-validate.yaml b/framework/src/main/resources/open-cli-schema/schema-validate.yaml
new file mode 100644
index 00000000..8c777666
--- /dev/null
+++ b/framework/src/main/resources/open-cli-schema/schema-validate.yaml
@@ -0,0 +1,38 @@
+open_cli_schema_version: 1.0
+name: schema-validate
+description: Onap command to validate schema
+version: cli-1.0
+service:
+ auth: none
+ name: open-cli
+ version: 1.0.0
+default_parameters:
+ exclude:
+ - host-username
+ - host-password
+ - host-url
+ - no-auth
+parameters:
+ - name: schema-location
+ type: url
+ description: Schema file location
+ short_option: l
+ long_option: schema-location
+ is_optional: false
+ - name: internal-schema
+ type: bool
+ description: Validate existing schema file
+ short_option: i
+ long_option: internal-schema
+ is_optional: false
+results:
+ direction: landscape
+ attributes:
+ - name: sl-no
+ description: Serial Number of error
+ scope: short
+ type: string
+ - name: error
+ description: Schema validation error
+ scope: short
+ type: string \ No newline at end of file