소스 검색

Include name field in json examples

Arkadiusz Ryś 1 년 전
부모
커밋
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>"
             }
         }