diff options
| author | Francois Perrad <francois.perrad@gadz.org> | 2010-10-15 17:49:28 +0200 |
|---|---|---|
| committer | Francois Perrad <francois.perrad@gadz.org> | 2010-10-15 17:49:28 +0200 |
| commit | 2e0fff66b5967cdf4f73dfb71c124da6c735f444 (patch) | |
| tree | e83ca9b730c3d717d86ca3e4decd046a831409bc /uml/api.lua | |
| parent | more explicit names (diff) | |
| download | spore-specifications-2e0fff66b5967cdf4f73dfb71c124da6c735f444.tar.gz | |
s/format/formats/
it is an array
Diffstat (limited to 'uml/api.lua')
| -rw-r--r-- | uml/api.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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>' } |
