diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/SchemaManagementImpl.java b/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/SchemaManagementImpl.java index d1de395..c8fe228 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/SchemaManagementImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/SchemaManagementImpl.java @@ -296,11 +296,6 @@ public class SchemaManagementImpl implements SchemaManagement { JSONArray jsonArray = new JSONArray(); OClass baseOClass = getTypeSchema(orientGraphNoTx, type, baseType); - if (includeSchema) { - jsonArray.put(serializeOClassAsJSON(baseOClass)); - } else { - jsonArray.put(baseOClass.getName()); - } OMetadata oMetadata = orientGraphNoTx.getRawGraph().getMetadata(); OSchema oSchema = oMetadata.getSchema();