diff options
| author | Francois Perrad <francois.perrad@gadz.org> | 2012-07-01 18:40:08 +0200 |
|---|---|---|
| committer | Francois Perrad <francois.perrad@gadz.org> | 2012-10-13 22:46:33 +0200 |
| commit | 3865bb4717e0da8d5d79da9cc09baf9e45818977 (patch) | |
| tree | 488cf51c9bc6195307943a0a4cea8c791c6257da | |
| parent | Merge pull request #3 from ogrisel/patch-1 (diff) | |
| download | spore-specifications-3865bb4717e0da8d5d79da9cc09baf9e45818977.tar.gz | |
add payload parameter
Diffstat (limited to '')
| -rw-r--r-- | spore_validation.rx | 6 | ||||
| -rw-r--r-- | uml/abstract_syntax_tree.dot | 2 | ||||
| -rw-r--r-- | uml/abstract_syntax_tree.png | bin | 34615 -> 35324 bytes | |||
| -rw-r--r-- | uml/semantic_model.dot | 2 | ||||
| -rw-r--r-- | uml/semantic_model.png | bin | 24345 -> 25076 bytes |
5 files changed, 8 insertions, 2 deletions
diff --git a/spore_validation.rx b/spore_validation.rx index 46d47a3..f031353 100644 --- a/spore_validation.rx +++ b/spore_validation.rx @@ -53,6 +53,12 @@ "type": "//str" } }, + "payload" : { + "type": "//arr", + "contents": { + "type": "//str" + } + }, "form-data" : { "type": "//map", "values": { diff --git a/uml/abstract_syntax_tree.dot b/uml/abstract_syntax_tree.dot index 83b727f..1c903df 100644 --- a/uml/abstract_syntax_tree.dot +++ b/uml/abstract_syntax_tree.dot @@ -9,6 +9,6 @@ digraph { [label="methods", dir=back, arrowtail=odiamond]; "Method" - [label="{\N|method : string\lpath : string\l\lauthentication : boolean\lbase_url : string\ldeprecated : boolean\ldescription : string\lexpected_status : array<number>\lform-data : map<string,string>\lformats : array<string>\lheaders : map<string,string>\loptional_params : array<string>\loptional_payload : boolean\lrequired_params : array<string>\lrequired_payload : boolean\lunattended_params : boolean\l}"]; + [label="{\N|method : string\lpath : string\l\lauthentication : boolean\lbase_url : string\ldeprecated : boolean\ldescription : string\lexpected_status : array<number>\lform-data : map<string,string>\lformats : array<string>\lheaders : map<string,string>\loptional_params : array<string>\loptional_payload : boolean\lpayload : array<string>\lrequired_params : array<string>\lrequired_payload : boolean\lunattended_params : boolean\l}"]; } diff --git a/uml/abstract_syntax_tree.png b/uml/abstract_syntax_tree.png Binary files differindex e5afaba..7569a1a 100644 --- a/uml/abstract_syntax_tree.png +++ b/uml/abstract_syntax_tree.png diff --git a/uml/semantic_model.dot b/uml/semantic_model.dot index cfafe92..90357f5 100644 --- a/uml/semantic_model.dot +++ b/uml/semantic_model.dot @@ -9,6 +9,6 @@ digraph { [label="methods", dir=back, arrowtail=odiamond]; "Method" - [label="{\N|method : string\lpath : string\l\lauthentication : boolean\lbase_url : string\ldeprecated : boolean\ldescription : string\lexpected_status : array<number>\lform-data : map<string,string>\lformats : array<string>\lheaders : map<string,string>\loptional_params : array<string>\loptional_payload : boolean\lrequired_params : array<string>\lrequired_payload : boolean\lunattended_params : boolean\l}"]; + [label="{\N|method : string\lpath : string\l\lauthentication : boolean\lbase_url : string\ldeprecated : boolean\ldescription : string\lexpected_status : array<number>\lform-data : map<string,string>\lformats : array<string>\lheaders : map<string,string>\loptional_params : array<string>\loptional_payload : boolean\lpayload : array<string>\lrequired_params : array<string>\lrequired_payload : boolean\lunattended_params : boolean\l}"]; } diff --git a/uml/semantic_model.png b/uml/semantic_model.png Binary files differindex e222ffa..3f3fe81 100644 --- a/uml/semantic_model.png +++ b/uml/semantic_model.png |
