[jboss-jira] [JBoss JIRA] (DROOLS-5530) DMN strongly typed codegen Eclipse MP OpenAPI enum for String

Kris Verlaenen (Jira) issues at jboss.org
Mon Jul 27 05:06:23 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kris Verlaenen updated DROOLS-5530:
-----------------------------------
    Sprint: 2020 Week 28-30 (from Jul 6), 2020 Week 31-33 (from Jul 27)  (was: 2020 Week 28-30 (from Jul 6))


> DMN strongly typed codegen Eclipse MP OpenAPI enum for String
> -------------------------------------------------------------
>
>                 Key: DROOLS-5530
>                 URL: https://issues.redhat.com/browse/DROOLS-5530
>             Project: Drools
>          Issue Type: Feature Request
>          Components: dmn engine
>            Reporter: Matteo Mortari
>            Assignee: Matteo Mortari
>            Priority: Major
>         Attachments: image-2020-07-24-13-59-42-492.png
>
>
> When Strongly typed facility codegenerate any Java class based on the ItemDefinition from DMN, will annotate String type with the list of `allowedValues` as a Eclipse MP OpenAPI enum, when this information is available.
> This way, any facility which inspect the MP OpenAPI annotation, can rely on this information for consistency and data validation.
> Example:
>  !image-2020-07-24-13-59-42-492.png|thumbnail! 



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list