Просмотр исходного кода

Include name field in json examples

Arkadiusz Ryś 1 год назад
Родитель
Сommit
da519b36ab
1 измененных файлов с 2 добавлено и 0 удалено
  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>"
             }
         }