Ver código fonte

Include name field in json examples

Arkadiusz Ryś 1 ano atrás
pai
commit
da519b36ab
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -11,6 +11,7 @@ This endpoint expects this context in the form of a json body following a highly
             "<name of artefact port going into the activity>": {
                 "type": "<inline|reference>",
                 "content": <the contents of the artefact going into this port in case it's inlined>,
+                "name": "<the file name>",
                 "encoding": "<the encoding of said artefact>"
             }
         }
@@ -28,6 +29,7 @@ Barring any errors, mocka will retaliate with a json response in the same gist.
             "<the name of the artefact which got generated>": {
                 "type": "<inline|reference>",
                 "content": <the contents of the generated artefact>,
+                "name": "<the file name>",
                 "encoding": "<the encoding of said artefact>"
             }
         }