Matteo Mortari created DROOLS-5530:
--------------------------------------
Summary: 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
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)