Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » [JSON Editor]Completion for JSon schema working only on first-level?
[JSON Editor]Completion for JSon schema working only on first-level? [message #1779035] |
Fri, 29 December 2017 13:56 |
|
Hello,
I have a custom json-schema and associated it with my file.
Schema is here https://github.com/syndesisio/syndesis/blob/master/app/rest/model/src/main/resources/syndesis/syndesis-extension-definition-schema.json
Sample file:
{
"version":"",
"name":"",
"extensionId":"",
"icon":"",
"description":"",
"actions": [
{
"actionType": "extension",
"id": "log-body",
"name": "simple-log-body",
"description": "A simple xml based logging extension",
"tags": [
"xml"
],
"descriptor": {
"kind": "ENDPOINT",
"entrypoint": "direct:log-body",
"inputDataShape": {
"kind": "any"
},
"outputDataShape": {
"kind": "any"
},
"propertyDefinitionSteps": []
}
}
],
"tags": [
"feature",
"experimental"
]
}
The completion is working for the attributes of first level (version, name, extensionId, icon, description, actions, tags) but I have no completion for attributes inside actions for instance.
Is it supported?
Is it because the schema is not written correctly?
Is it because the json schema metamodel is not a supported one (http://json-schema.org/draft-04/schema#) ?
What is the good place to put breakpoints to investigate on that if it should work and there is a bug somewhere?
Regards,
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
|
|
|
Goto Forum:
Current Time: Sat Nov 11 07:52:21 GMT 2023
Powered by FUDForum. Page generated in 0.01824 seconds
|