-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathfgen_schema.json
54 lines (54 loc) · 1.31 KB
/
fgen_schema.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"$comment": "How to use this schema:",
"properties": {
"exclude": {
"type": "array",
"description": "Glob patterns to exclude from the generator.",
"items": {
"type": "string"
}
},
"include": {
"type": "array",
"description": "Glob patterns to include in the generator.",
"items": {
"type": "string"
}
},
"output": {
"type": "string",
"description": "Output directory for the generated files."
},
"preview": {
"type": "boolean",
"description": "Make the preview comment for every resource field."
},
"watch": {
"type": "boolean",
"description": "Watch for changes in the input files."
},
"name": {
"type": "string",
"description": "class name of the generated."
},
"replace": {
"type": "array",
"description": "Replace the string in the field name.",
"items": {
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "The string to search for."
},
"to": {
"type": "string",
"description": "The string to replace with."
}
}
}
}
}
}