mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
json schema: navigation to layered properties in json schema, on the example of eslint config
This commit is contained in:
+2
-2
@@ -169,10 +169,10 @@ public class JsonSchemaDefinitionResolver {
|
||||
element = (JsonProperty) grand;
|
||||
} else break;
|
||||
}
|
||||
final StringBuilder path = new StringBuilder("/properties");
|
||||
final StringBuilder path = new StringBuilder();
|
||||
Collections.reverse(names);
|
||||
for (String name : names) {
|
||||
path.append('/').append(name);
|
||||
path.append("/properties/").append(name);
|
||||
}
|
||||
myRef = path.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user