summaryrefslogtreecommitdiff
path: root/uml
diff options
context:
space:
mode:
Diffstat (limited to 'uml')
-rw-r--r--uml/api.dot2
-rw-r--r--uml/api.lua8
-rw-r--r--uml/api.pngbin25676 -> 27700 bytes
3 files changed, 5 insertions, 5 deletions
diff --git a/uml/api.dot b/uml/api.dot
index 4d2a3dc..43d92ca 100644
--- a/uml/api.dot
+++ b/uml/api.dot
@@ -3,7 +3,7 @@ digraph {
node [shape=record];
"Method"
- [label="{\N|authentication : boolean\lbase_url : string\ldescription : string\lexpected : table<number>\lformat : table<string>\lmethod : string\loptional : table<string>\lpath : string\lrequired : table<string>\l}"];
+ [label="{\N|authentication : boolean\lbase_url : string\ldescription : string\lexpected_status : table<number>\lformat : 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\lformat : table<string>\lmeta : table<string,string>\lmethods : table<string,Method>\lname : string\lversion : string\l}"];
diff --git a/uml/api.lua b/uml/api.lua
index 16f187a..0cd4596 100644
--- a/uml/api.lua
+++ b/uml/api.lua
@@ -6,9 +6,9 @@ class 'Method'
has._method = { is = 'ro', isa = 'string', required = true }
has.path = { is = 'ro', isa = 'string', required = true }
-has.expected = { is = 'ro', isa = 'table<number>' }
-has.required = { is = 'ro', isa = 'table<string>' }
-has.optional = { is = 'ro', isa = 'table<string>' }
+has.expected_status = { is = 'ro', isa = 'table<number>' }
+has.required_params = { is = 'ro', isa = 'table<string>' }
+has.optional_params = { is = 'ro', isa = 'table<string>' }
has.base_url = { is = 'ro', isa = 'string' }
has.description = { is = 'ro', isa = 'string' }
has.authentication = { is = 'ro', isa = 'boolean' }
@@ -22,8 +22,8 @@ has.methods = { is = 'ro', isa = 'table<string,Method>', required = true
has.base_url = { is = 'ro', isa = 'string' }
has.description = { is = 'ro', isa = 'string' }
has.authentication = { is = 'ro', isa = 'boolean' }
+has.format = { is = 'ro', isa = 'table<string>' }
has.version = { is = 'ro', isa = 'string' }
has.authority = { is = 'ro', isa = 'string' }
-has.format = { is = 'ro', isa = 'table<string>' }
has.meta = { is = 'ro', isa = 'table<string,string>' }
diff --git a/uml/api.png b/uml/api.png
index b2045c9..1334481 100644
--- a/uml/api.png
+++ b/uml/api.png
Binary files differ