Hi Francisco,
thank you for reaching out; I believe I see what you mean: if say a Kogito maven project has 7 DMN models inside, the InputSetN on the OpenAPI will not correspond to the "same" model after each `mvn clean install` of the same Kogito project. Did I get it correctly?
If yes, I would like to kindly ask you to create 2 separate JIRAs, please:
The first one, to capture the Enhancement you described as:
This one, you can make sure it's labeled somewhere for Tooling.
The second one, in the meantime, I could check if there is a way to accommodate some heuristic directly on the backend.
This second one, you can make sure it's assigned to me.
I am thinking that at least I could try to have a consistent ordering of the DMN model while producing the OpenAPI (eg: order by name, namespace) this way for as long as the DMN model coordinates {name, namespace} do not change, the numerical order will be the same.
Alternatively, where possible, instead of the more stable numbering order, plug-in the use as suffix of an escaped label from the model name; this should be even more convenient when adding a new model.
What do you think?
Hope this helps, let us know when the 2 JIRAs are created, please.
Ciao,
MM