summaryrefslogtreecommitdiff
path: root/uml/api.lua
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-19 11:56:42 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-19 11:56:42 +0200
commit14b93483f15062a3ac3ff2b096561a744a7ac1f2 (patch)
tree5a2b9841faa6fb5ecd0948585240b1db4bad6a10 /uml/api.lua
parentremove max_redirect, add expected_status (diff)
downloadspore-specifications-14b93483f15062a3ac3ff2b096561a744a7ac1f2.tar.gz
UML: remove lua, and improve dot
Diffstat (limited to '')
-rw-r--r--uml/api.lua29
1 files changed, 0 insertions, 29 deletions
diff --git a/uml/api.lua b/uml/api.lua
deleted file mode 100644
index 83f1dd2..0000000
--- a/uml/api.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-
-require 'Coat'
-require 'Coat.Types'
-
-class 'Method'
-
-has._method = { is = 'ro', isa = 'string', required = true }
-has.path = { is = 'ro', isa = 'string', required = true }
-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' }
-has.formats = { is = 'ro', isa = 'table<string>' }
-
-
-class 'API'
-
-has.name = { is = 'ro', isa = 'string', required = true }
-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.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>' }
-