summaryrefslogtreecommitdiff
path: root/uml
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-15 17:49:28 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-15 17:49:28 +0200
commit2e0fff66b5967cdf4f73dfb71c124da6c735f444 (patch)
treee83ca9b730c3d717d86ca3e4decd046a831409bc /uml
parentmore explicit names (diff)
downloadspore-specifications-2e0fff66b5967cdf4f73dfb71c124da6c735f444.tar.gz
s/format/formats/
it is an array
Diffstat (limited to 'uml')
-rw-r--r--uml/api.dot4
-rw-r--r--uml/api.lua4
-rw-r--r--uml/api.pngbin27700 -> 27747 bytes
3 files changed, 4 insertions, 4 deletions
diff --git a/uml/api.dot b/uml/api.dot
index 43d92ca..1b81647 100644
--- a/uml/api.dot
+++ b/uml/api.dot
@@ -3,10 +3,10 @@ digraph {
node [shape=record];
"Method"
- [label="{\N|authentication : boolean\lbase_url : string\ldescription : string\lexpected_status : table&lt;number&gt;\lformat : table&lt;string&gt;\lmethod : string\loptional_params : table&lt;string&gt;\lpath : string\lrequired_params : table&lt;string&gt;\l}"];
+ [label="{\N|authentication : boolean\lbase_url : string\ldescription : string\lexpected_status : table&lt;number&gt;\lformats : table&lt;string&gt;\lmethod : string\loptional_params : table&lt;string&gt;\lpath : string\lrequired_params : table&lt;string&gt;\l}"];
"API"
- [label="{\N|authentication : boolean\lauthority : string\lbase_url : string\ldescription : string\lformat : table&lt;string&gt;\lmeta : table&lt;string,string&gt;\lmethods : table&lt;string,Method&gt;\lname : string\lversion : string\l}"];
+ [label="{\N|authentication : boolean\lauthority : string\lbase_url : string\ldescription : string\lformats : table&lt;string&gt;\lmeta : table&lt;string,string&gt;\lmethods : table&lt;string,Method&gt;\lname : string\lversion : string\l}"];
"API" -> "Method" // attr isa table<string,Method>
[label = "methods", arrowhead = none, arrowtail = odiamond];
diff --git a/uml/api.lua b/uml/api.lua
index 0cd4596..83f1dd2 100644
--- a/uml/api.lua
+++ b/uml/api.lua
@@ -12,7 +12,7 @@ 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' }
-has.format = { is = 'ro', isa = 'table<string>' }
+has.formats = { is = 'ro', isa = 'table<string>' }
class 'API'
@@ -22,7 +22,7 @@ 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.formats = { is = 'ro', isa = 'table<string>' }
has.version = { is = 'ro', isa = 'string' }
has.authority = { is = 'ro', isa = 'string' }
has.meta = { is = 'ro', isa = 'table<string,string>' }
diff --git a/uml/api.png b/uml/api.png
index 1334481..2ed711a 100644
--- a/uml/api.png
+++ b/uml/api.png
Binary files differ