Skip to content

Commit

Permalink
UML Create comment from property description
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSmith committed Dec 21, 2023
1 parent d2b034d commit 4aa5502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cogs.Publishers/UmlSchemaPublisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private List<XElement> CreateClassDescription(Model.DataType item, CogsModel mod
new XAttribute(xmins + "type", "uml:Comment"),
new XAttribute(xmins + "id", CreateId(id + "-ownedComment")),
new XElement("annotatedElement", new XAttribute(xmins + "idref", id)),
new XElement("body", item.Description)));
new XElement("body", property.Description)));

if (property.MinCardinality != null)
{
Expand Down

0 comments on commit 4aa5502

Please sign in to comment.