@celigo/api-specs 0.2.334 → 0.2.335
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.yml +2 -1
- package/dist/import.yml +7 -0
- package/dist/tool.yml +9 -1
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/api.yml
CHANGED
|
@@ -1799,7 +1799,8 @@ paths:
|
|
|
1799
1799
|
from the new record, and its `response` stage holds the saved records. Remove `mockOutput`
|
|
1800
1800
|
from the export to call the source again. Real calls to the API don't read it. Imports never
|
|
1801
1801
|
send; each returns its saved `mockResponse`, or a placeholder response when none is saved
|
|
1802
|
-
(see `mockResponse` on imports)
|
|
1802
|
+
(see `mockResponse` on imports), and a run in which such an import executes saves that
|
|
1803
|
+
placeholder on it as its `mockResponse`.
|
|
1803
1804
|
|
|
1804
1805
|
Test runs never paginate, whatever `pagination.enabled` says: the captured success
|
|
1805
1806
|
response carries no `pagination` object, and a `Celigo-Next-Cursor` entry in
|
package/dist/import.yml
CHANGED
|
@@ -18466,6 +18466,13 @@ components:
|
|
|
18466
18466
|
``POST /v1/imports/preview`` is the exception: it executes the
|
|
18467
18467
|
composed destination request for real — mockResponse does not
|
|
18468
18468
|
protect that surface.
|
|
18469
|
+
- |-
|
|
18470
|
+
A test run of a flow, Tool or API in which an import with no
|
|
18471
|
+
saved mockResponse executes saves the placeholder on that import
|
|
18472
|
+
as its mockResponse (the import's ``lastModified`` changes). A
|
|
18473
|
+
saved mockResponse holding ``mockResponse: "replace me"`` is that
|
|
18474
|
+
placeholder, not a response anyone authored — replace it with a
|
|
18475
|
+
realistic one.
|
|
18469
18476
|
items:
|
|
18470
18477
|
type: object
|
|
18471
18478
|
properties:
|
package/dist/tool.yml
CHANGED
|
@@ -2493,7 +2493,8 @@ paths:
|
|
|
2493
2493
|
input, and its `response` stage holds the saved records. Remove `mockOutput` from the export
|
|
2494
2494
|
to call the source again. `POST /v1/tools/{_id}/invoke` neither reads nor writes it. Imports
|
|
2495
2495
|
never send; each returns its saved `mockResponse`, or a placeholder response when none is
|
|
2496
|
-
saved (see `mockResponse` on imports)
|
|
2496
|
+
saved (see `mockResponse` on imports), and a run in which such an import executes saves that
|
|
2497
|
+
placeholder on it as its `mockResponse`. A test run is keyed by the request's `triggeredAt`:
|
|
2497
2498
|
one sent with a `triggeredAt` that an earlier test run of the tool already used is refused
|
|
2498
2499
|
with 400 `test_run_not_allowed` ("Cannot run the test tool when it is already in the running
|
|
2499
2500
|
state."), even after that run has finished. Runs with different `triggeredAt` values run at
|
|
@@ -28199,6 +28200,13 @@ components:
|
|
|
28199
28200
|
``POST /v1/imports/preview`` is the exception: it executes the
|
|
28200
28201
|
composed destination request for real — mockResponse does not
|
|
28201
28202
|
protect that surface.
|
|
28203
|
+
- |-
|
|
28204
|
+
A test run of a flow, Tool or API in which an import with no
|
|
28205
|
+
saved mockResponse executes saves the placeholder on that import
|
|
28206
|
+
as its mockResponse (the import's ``lastModified`` changes). A
|
|
28207
|
+
saved mockResponse holding ``mockResponse: "replace me"`` is that
|
|
28208
|
+
placeholder, not a response anyone authored — replace it with a
|
|
28209
|
+
realistic one.
|
|
28202
28210
|
items:
|
|
28203
28211
|
type: object
|
|
28204
28212
|
properties:
|
package/package.json
CHANGED