Added JSON package diagram generator test cases

This commit is contained in:
Bartek Kryza
2023-03-25 13:39:53 +01:00
parent c1bce60656
commit aa2d3099de
12 changed files with 345 additions and 130 deletions

View File

@@ -53,7 +53,7 @@ void generator::generate(const package &p, nlohmann::json &parent) const
LOG_DBG("Generating package {}", p.name());
nlohmann::json j;
j["id"] = p.id();
j["id"] = std::to_string(p.id());
j["name"] = p.name();
j["type"] = "namespace";
j["display_name"] = p.full_name(false);