[jbosstools-issues] [JBoss JIRA] (ERT-215) Improve JSON completion apply according the JSON Schema [EBZ#494114]

Friendly Jira Robot (JIRA) issues at jboss.org
Wed May 25 15:31:00 EDT 2016


Friendly Jira Robot created ERT-215:
---------------------------------------

             Summary: Improve JSON completion apply according the JSON Schema [EBZ#494114]
                 Key: ERT-215
                 URL: https://issues.jboss.org/browse/ERT-215
             Project: Eclipse Release Train
          Issue Type: Task
          Components: WTP Source Editing
            Reporter: Friendly Jira Robot
            Priority: Trivial


Today, when JSON completion item is applied, it generates the "name" and "value" fields. According the JSON Schema, it generates for instance "false" as value if the JSON field is declared as "boolean" in the JSON Schema.

I think we could improve this behaviour:

 * apply completion should show a second popup for boolean value ( with "true", "false").
 * apply completion should generate "true" if JSON Schema "default" declare it as "true"
 * apply completion should use JSON Schema "enum" to show a second popup with "enum" values.
 * apply completion should generate a JSON Object with JSON pair which declare some "name" JSON fields as "required".



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list