Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX DMN schema generation #1100

Closed
gitgabrio opened this issue Apr 19, 2024 · 0 comments · Fixed by apache/incubator-kie-drools#5858
Closed

FIX DMN schema generation #1100

gitgabrio opened this issue Apr 19, 2024 · 0 comments · Fixed by apache/incubator-kie-drools#5858
Assignees
Labels
area:dmn Related to DMN area:engine Related to the runtime engines type:bug Something is behaving unexpectedly

Comments

@gitgabrio
Copy link

Fix

   if (t.getTypeConstraint() != null && !t.getTypeConstraint().isEmpty()) {
            parseSimpleType(DMNOASConstants.X_DMN_TYPE_CONSTRAINTS, t, schema, t.getTypeConstraintFEEL(), t.getAllowedValues());
    }

inside org.kie.dmn.openapi.impl.DMNTypeSChema.
Eventually fix returned empty enum

"tCollection": {
            "type": "array",
            "items": {
                "enum": [],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dmn Related to DMN area:engine Related to the runtime engines type:bug Something is behaving unexpectedly
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant