Add auth mode in service
[cli.git] / framework / src / main / resources / schema-validate.yaml
1 onap_cmd_schema_version: 1.0
2 name: schema-validate
3 description: Onap command to validate schema
4 service:
5   auth: none
6   name: onap-cli
7   version: 1.0.0
8 default_parameters:
9   exclude:
10     - onap-username
11     - onap-password
12     - host-url
13     - no-auth
14 parameters:
15   - name: schema-location
16     type: url
17     description: Schema file location
18     short_option: l
19     long_option: schema-location
20     is_optional: false
21   - name: internal-schema
22     type: bool
23     description: Validate existing schema file
24     short_option: i
25     long_option: internal-schema
26     is_optional: false
27 results:
28   direction: landscape
29   attributes:
30     - name: sl-no
31       description: Serial Number of error
32       scope: short
33       type: string
34     - name: error
35       description: Schema validation error
36       scope: short
37       type: string