summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2012-07-01 18:40:08 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2012-10-13 22:46:33 +0200
commit3865bb4717e0da8d5d79da9cc09baf9e45818977 (patch)
tree488cf51c9bc6195307943a0a4cea8c791c6257da
parentMerge pull request #3 from ogrisel/patch-1 (diff)
downloadspore-specifications-3865bb4717e0da8d5d79da9cc09baf9e45818977.tar.gz
add payload parameter
Diffstat (limited to '')
-rw-r--r--spore_validation.rx6
-rw-r--r--uml/abstract_syntax_tree.dot2
-rw-r--r--uml/abstract_syntax_tree.pngbin34615 -> 35324 bytes
-rw-r--r--uml/semantic_model.dot2
-rw-r--r--uml/semantic_model.pngbin24345 -> 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&lt;number&gt;\lform-data : map&lt;string,string&gt;\lformats : array&lt;string&gt;\lheaders : map&lt;string,string&gt;\loptional_params : array&lt;string&gt;\loptional_payload : boolean\lrequired_params : array&lt;string&gt;\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&lt;number&gt;\lform-data : map&lt;string,string&gt;\lformats : array&lt;string&gt;\lheaders : map&lt;string,string&gt;\loptional_params : array&lt;string&gt;\loptional_payload : boolean\lpayload : array&lt;string&gt;\lrequired_params : array&lt;string&gt;\lrequired_payload : boolean\lunattended_params : boolean\l}"];
}
diff --git a/uml/abstract_syntax_tree.png b/uml/abstract_syntax_tree.png
index e5afaba..7569a1a 100644
--- a/uml/abstract_syntax_tree.png
+++ b/uml/abstract_syntax_tree.png
Binary files differ
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&lt;number&gt;\lform-data : map&lt;string,string&gt;\lformats : array&lt;string&gt;\lheaders : map&lt;string,string&gt;\loptional_params : array&lt;string&gt;\loptional_payload : boolean\lrequired_params : array&lt;string&gt;\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&lt;number&gt;\lform-data : map&lt;string,string&gt;\lformats : array&lt;string&gt;\lheaders : map&lt;string,string&gt;\loptional_params : array&lt;string&gt;\loptional_payload : boolean\lpayload : array&lt;string&gt;\lrequired_params : array&lt;string&gt;\lrequired_payload : boolean\lunattended_params : boolean\l}"];
}
diff --git a/uml/semantic_model.png b/uml/semantic_model.png
index e222ffa..3f3fe81 100644
--- a/uml/semantic_model.png
+++ b/uml/semantic_model.png
Binary files differ