Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5530

DMN strongly typed codegen Eclipse MP OpenAPI enum for String

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • None
    • dmn engine
    • None

    Description

      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:

      Attachments

        Issue Links

          Activity

            People

              mmortari@redhat.com Matteo Mortari
              mmortari@redhat.com Matteo Mortari
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: