Closed tgoprince closed 2 months ago
Hey Tiago,
I couldn't reproduce this issue. After doing some research in the code, I found that it was already fixed by @claudenirmf with the following lines of code at IProjectTransformer.java
with the getUsedDatatypes
method.
Whenever we serialize a model in JSON (compliant with ontouml-schema), we include all Visual Paradigm's default dataypes, namely:
This happens regardless if a model actually uses these datatypes or not.
I think the plugin should only serialize them if they are referenced by an attribute.