From 24a28d7df9eb92189f3eb59587f2eedea0b5c341 Mon Sep 17 00:00:00 2001 From: "hannes.kuchelmeister" Date: Thu, 6 Feb 2020 10:41:21 +0100 Subject: [PATCH] improve API diagram --- Additional_Notes/class_diagram.plantuml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Additional_Notes/class_diagram.plantuml b/Additional_Notes/class_diagram.plantuml index def8ae6..0aadb95 100644 --- a/Additional_Notes/class_diagram.plantuml +++ b/Additional_Notes/class_diagram.plantuml @@ -8,9 +8,17 @@ skinparam class { skinparam shadowing false package API { - class ConfigurationAPI - class RecommenderAPI - class ProductStructureAPI + class ConfigurationAPI { + +get() : JSON + +post(configuration : JSON) : JSON + } + class RecommenderAPI { + +post(preferences : JSON, configuration : JSON) : JSON + } + class ProductStructureAPI { + +put(productStructure : JSON) : JSON + +get() : JSON + } } "/config/" ()-- ConfigurationAPI "/recommender/" ()-- RecommenderAPI