Skip to content

Commit 547dcfb

Browse files
authored
Merge pull request diffblue#514 from diffblue/jd/feature/adding_json_schema
Adds in json schema file and CLion schema definition file
2 parents 9f1a37e + 8bfa987 commit 547dcfb

File tree

2 files changed

+158
-0
lines changed

2 files changed

+158
-0
lines changed

.idea/jsonSchemas.xml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
{
2+
"additionalProperties": false,
3+
"properties": {
4+
"collected_classes_path": {
5+
"type": "string",
6+
"description": "Path to the collected_classes.json that is used to drive class file detection.",
7+
"default": ""
8+
},
9+
10+
"collected_classes_info_path": {
11+
"type": "string",
12+
"description": "Path where the results of class file detection should be saved.",
13+
"default": ""
14+
},
15+
16+
"detected_entry_points_path": {
17+
"type": "string",
18+
"description": "Path where the results of automatic entry point detection should be saved.",
19+
"default": ""
20+
},
21+
22+
"di_configuration_path": {
23+
"type": "string",
24+
"description": "Path where the output of the DI metadata harvesting result is output.",
25+
"default": ""
26+
},
27+
28+
"pattern_group": {
29+
"type": "array",
30+
"description": "A pattern group is a set of class and method patterns that when considered together are used by a certain framework or technique to signify a website / web service entry-point.",
31+
"items": {
32+
"type": "object",
33+
"additionalProperties": false,
34+
"properties": {
35+
36+
"id": {
37+
"type": "string",
38+
"description": "The id is a free-form identification for the group. This will only be referenced in other parts of the configuration, such as for filtering purposes."
39+
},
40+
41+
"patterns": {
42+
"type": "array",
43+
"items": {
44+
"type": "object",
45+
"additionalProperties": false,
46+
"properties": {
47+
48+
"method_pattern": {
49+
"type": "object",
50+
"description": "The selection of patterns a method must match to be considered an entry-point.",
51+
"additionalProperties": false,
52+
"properties": {
53+
54+
"names": {
55+
"type": "array",
56+
"description": "An array of regular expressions that the method should match. Only one match needs to be found.",
57+
"items": {
58+
"type": "string"
59+
}
60+
},
61+
62+
"annotations": {
63+
"type": "array",
64+
"description": "An array of fully-qualified annotations that should decorate the method. Only one match needs to be found.",
65+
"items": {
66+
"type": "string"
67+
}
68+
},
69+
70+
"arguments": {
71+
"type": "array",
72+
"description": "An array of fully-qualified type names that should be the parameters of the method. Both ordering and count needs to match exactly.",
73+
"items": {
74+
"type": "string"
75+
}
76+
},
77+
78+
"returns": {
79+
"type": "array",
80+
"description": "An array of fully-qualified type names that should be returned from this method. Only one match needs to be found.",
81+
"items": {
82+
"type": "string"
83+
}
84+
}
85+
}
86+
},
87+
88+
"class_pattern": {
89+
"type": "object",
90+
"description": "The selection of patterns a class must match to be considered an entry-point. If a method pattern is not stated, then all methods in a class will be matched.",
91+
"additionalProperties": false,
92+
"properties": {
93+
94+
"names": {
95+
"type": "array",
96+
"description": "An array of regular expressions that the class should match. Only one match needs to be found.",
97+
"items": {
98+
"type": "string"
99+
}
100+
},
101+
102+
"extends": {
103+
"type": "array",
104+
"description": "An array of fully-qualified classes that the class extend from. Only one match needs to be found.",
105+
"items": {
106+
"type": "string"
107+
}
108+
},
109+
110+
"annotations": {
111+
"type": "array",
112+
"description": "An array of fully-qualified annotations that should decorate the class. Only one match needs to be found.",
113+
"items": {
114+
"type": "string"
115+
}
116+
},
117+
118+
"implements": {
119+
"type": "array",
120+
"description": "An array of fully-qualified interfaces that the class should implement. Only one match needs to be found.",
121+
"items": {
122+
"type": "string"
123+
}
124+
}
125+
}
126+
}
127+
}
128+
}
129+
}
130+
}
131+
}
132+
}
133+
}
134+
}

0 commit comments

Comments
 (0)