]
Friendly Jira Robot resolved ERT-344.
-------------------------------------
Resolution: Done
JSON schema references are not being resolved [EBZ#489452]
----------------------------------------------------------
Key: ERT-344
URL:
https://issues.jboss.org/browse/ERT-344
Project: Eclipse Release Train
Issue Type: Task
Components: WTP Source Editing
Reporter: Friendly Jira Robot
Labels: 3.8.1, bzira, wst.json
Fix For: Neon.1 (4.6)
I hooked up the swagger schema (
http://json.schemastore.org/swagger-2.0) to the schema
extension and have been assessing content assist in the editor. At this point, only the
top level properties are being returned as proposals, indicating this function is a
probably a work in progress, which is fine. One problem I see is that JSON references are
not being resolved:
Currently, there are JSONObjects with name/value pairs that look like this:
{"$ref":"#/definitions/info"}
{"$ref":"#/definitions/paths"}
..etc
It'll be good if the model can contain the resolved references for content
assist/validation purposes. I'd like to raise this as a requirement if it hasn't
already been captured.