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

Gorkem Ercan (JIRA) issues at jboss.org
Wed Jun 15 15:37:02 EDT 2016


     [ https://issues.jboss.org/browse/ERT-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gorkem Ercan updated ERT-215:
-----------------------------
    Sprint: devex #116 June 2016  (was: devex #115 May 2016)


> 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
>            Assignee: Snjezana Peco
>            Priority: Trivial
>              Labels: bzira, wst.json
>             Fix For: Neon.1 (4.6)
>
>
> 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