From 3865bb4717e0da8d5d79da9cc09baf9e45818977 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 1 Jul 2012 18:40:08 +0200 Subject: add payload parameter --- spore_validation.rx | 6 ++++++ uml/abstract_syntax_tree.dot | 2 +- uml/abstract_syntax_tree.png | Bin 34615 -> 35324 bytes uml/semantic_model.dot | 2 +- 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 index e5afaba..7569a1a 100644 Binary files a/uml/abstract_syntax_tree.png and b/uml/abstract_syntax_tree.png 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<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 index e222ffa..3f3fe81 100644 Binary files a/uml/semantic_model.png and b/uml/semantic_model.png differ -- cgit v1.2.3