summaryrefslogtreecommitdiffstats
path: root/aai-schema-gen
diff options
context:
space:
mode:
Diffstat (limited to 'aai-schema-gen')
-rw-r--r--aai-schema-gen/src/main/resources/swagger.plantuml.ftl28
1 files changed, 28 insertions, 0 deletions
diff --git a/aai-schema-gen/src/main/resources/swagger.plantuml.ftl b/aai-schema-gen/src/main/resources/swagger.plantuml.ftl
new file mode 100644
index 0000000..8127b5f
--- /dev/null
+++ b/aai-schema-gen/src/main/resources/swagger.plantuml.ftl
@@ -0,0 +1,28 @@
+@startuml
+
+title ${version} Active and Available Inventory Relationships Class Diagram
+
+
+class Inventory
+<#list sortedAaiApis?keys as key>
+ <#list sortedAaiApis[key] as api>
+class ${api.getPath()}
+ </#list>
+</#list>
+
+"Inventory" *-- "business"
+"Inventory" *-- "cloud-infrastructure"
+"Inventory" *-- "common"
+"Inventory" *-- "external-system"
+"Inventory" *-- "network"
+"Inventory" *-- "service-design-and-creation"
+
+Note: Convert the paths below into compositions like above
+<#list sortedAaiApis?keys as key>
+ <#list sortedAaiApis[key] as api>
+${api.getPath()}
+ </#list>
+</#list>
+
+@enduml
+