Permalink
Browse files

s/format/formats/

it is an array
  • Loading branch information...
1 parent d26bbba commit 2e0fff66b5967cdf4f73dfb71c124da6c735f444 @fperrad fperrad committed Oct 15, 2010
Showing with 6 additions and 6 deletions.
  1. +2 −2 spore_validation.rx
  2. +2 −2 uml/api.dot
  3. +2 −2 uml/api.lua
  4. BIN uml/api.png
View
@@ -6,7 +6,7 @@
"authentication": "//bool",
"version": "//str",
"authority": "//str",
- "format": {
+ "formats": {
"type" : "//arr",
"contents": { "type":"//str" }
},
@@ -48,7 +48,7 @@
"description": "//str",
"authentication": "//bool",
"base_url": "//str",
- "format": {
+ "formats": {
"type" : "//arr",
"contents": { "type":"//str" }
}
View
@@ -3,10 +3,10 @@ digraph {
node [shape=record];
"Method"
- [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}"];
+ [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\lformat : table<string>\lmeta : table<string,string>\lmethods : table<string,Method>\lname : string\lversion : string\l}"];
+ [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 = "methods", arrowhead = none, arrowtail = odiamond];
View
@@ -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>' }
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2e0fff6

Please sign in to comment.