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

DMN strongly typed codegen Eclipse MP OpenAPI enum for String

XMLWordPrintable

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

      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:

            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

              Created:
              Updated:
              Resolved: