diff options
Diffstat (limited to 'uml/api.dot')
| -rw-r--r-- | uml/api.dot | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/uml/api.dot b/uml/api.dot index 1b81647..d5ade1d 100644 --- a/uml/api.dot +++ b/uml/api.dot @@ -2,12 +2,13 @@ digraph { node [shape=record]; - "Method" - [label="{\N|authentication : boolean\lbase_url : string\ldescription : string\lexpected_status : table<number>\lformats : table<string>\lmethod : string\loptional_params : table<string>\lpath : string\lrequired_params : table<string>\l}"]; - "API" - [label="{\N|authentication : boolean\lauthority : string\lbase_url : string\ldescription : string\lformats : table<string>\lmeta : table<string,string>\lmethods : table<string,Method>\lname : string\lversion : string\l}"]; - "API" -> "Method" // attr isa table<string,Method> + [label="{\N|methods : map<string,Method>\lname : string\l\lauthentication : boolean\lauthority : string\lbase_url : string\ldescription : string\lformats : array<string>\lmeta : map<string,string>\lversion : string\l}"]; + + "API" -> "Method" [label = "methods", arrowhead = none, arrowtail = odiamond]; + "Method" + [label="{\N|method : string\lpath : string\l\lauthentication : boolean\lbase_url : string\ldescription : string\lexpected_status : array<number>\lformats : array<string>\loptional_params : array<string>\lrequired_params : array<string>\l}"]; + } |
