summaryrefslogtreecommitdiffstats
path: root/yang-compiler/src/main/resources/plugins.json
blob: a984d08dfb126f93ea5914700061671b1edadb8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "plugins": {
    "plugin": [
      {
        "name": "schema_validator",
        "class-path": "",
        "class": "org.onap.modeling.yangkit.compiler.plugin.validator.YangValidator",
        "description": "a plugin for validating yang files",
        "parameter": [
          {
            "name": "output",
            "description": "the output directory."
          }
        ]
      },
      {
        "name": "yang_statistics",
        "class-path": "",
        "class": "org.onap.modeling.yangkit.compiler.plugin.stat.YangStatistics",
        "description": "a plugin for retrieving yang statistics",
        "parameter": [
          {
            "name": "output",
            "description": "the output file."
          }
        ]
      },
      {
        "name": "yangtree_generator",
        "class": "org.onap.modeling.yangkit.compiler.plugin.yangtree.YangTreeGenerator",
        "description": "a plugin for generating yang tree",
        "parameter": [
          {
            "name": "output",
            "description": "the output directory for generated yang tree."
          },
          {
            "name": "line-length",
            "description": "integer,default is 72, a line max length."
          },
          {
            "name": "expand-grouping",
            "description": "boolean,default is true,indicate whether expand grouping"
          }
        ]
      },
      {
        "name": "yangpackage_generator",
        "class": "org.onap.modeling.yangkit.compiler.plugin.yangpackage.YangPackageGenerator",
        "description": "a plugin for generating yang package",
        "parameter": [
          {
            "name": "output",
            "description": "string, the file name(include parent path) of yang package instance."
          }
        ]
      }
    ]
  }
}