Fix docgen for action types
[netconf.git] / restconf / sal-rest-docgen / src / test / resources / yang / action-types.yang
1 module action-types {
2   yang-version 1.1;
3   namespace "urn:ietf:params:xml:ns:yang:test:action:types";
4   prefix "act-tp";
5
6   list list {
7     key name;
8     leaf name {
9       type string;
10     }
11     action list-action {
12       input {
13         leaf la-input {
14           type string;
15           mandatory true;
16         }
17       }
18       output {
19         leaf la-output {
20           type string;
21           mandatory true;
22         }
23       }
24     }
25   }
26
27   container container {
28     action container-action {
29       input {
30         leaf ca-input {
31           type string;
32           mandatory true;
33         }
34       }
35       output {
36         leaf ca-output {
37           type string;
38           mandatory true;
39         }
40       }
41     }
42   }
43
44   container multi-container {
45     container inner-container {
46       action action {
47       }
48     }
49   }
50 }