Vidyashree Rama | 6a72b79 | 2016-03-29 12:00:42 +0530 | [diff] [blame] | 1 | module rock { |
2 | namespace "http://example.net/rock"; | ||||
3 | prefix "rock"; | ||||
4 | |||||
5 | rpc rock-the-house { | ||||
6 | description "description"; | ||||
7 | status current; | ||||
8 | reference "reference"; | ||||
9 | typedef my-type { | ||||
10 | status deprecated; | ||||
11 | type int32; | ||||
12 | } | ||||
13 | input { | ||||
14 | leaf zip-code { | ||||
15 | type string; | ||||
16 | } | ||||
17 | } | ||||
18 | output { | ||||
19 | leaf status { | ||||
20 | type string; | ||||
21 | } | ||||
22 | } | ||||
23 | } | ||||
24 | } |