فهرست منبع

[REST API] use a block literal for request bodies

Spencer 9 سال پیش
والد
کامیت
31847c1e9d
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      rest-api-spec/src/main/resources/rest-api-spec/test/ingest/80_foreach.yaml

+ 4 - 3
rest-api-spec/src/main/resources/rest-api-spec/test/ingest/80_foreach.yaml

@@ -29,9 +29,10 @@
         type: test
         id: 1
         pipeline: "my_pipeline"
-        body: {
-          values: ["foo", "bar", "baz"]
-        }
+        body: >
+          {
+            values: ["foo", "bar", "baz"]
+          }
 
   - do:
       get: