This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small changes on the API to be more consistent
- Loading branch information
Showing
11 changed files
with
46 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
apply plugin: 'java' | ||
task api(dependsOn: jar, type: Zip) { | ||
from('src/main/resources/') | ||
classifier = "api" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
api/src/main/resources/playground/api/examples/transform-request-reader-options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"main": "/main.dwl", | ||
"inputs": [ | ||
{ | ||
"name": "payload", | ||
"content": "ewogICAgIm1lc3NhZ2UiOiAiSGVsbG8gd29ybGQhIgp9", | ||
"contentType": "application/json", | ||
"inputs": { | ||
"payload": { | ||
"value": "ewogICAgIm1lc3NhZ2UiOiAiSGVsbG8gd29ybGQhIgp9", | ||
"kind": "binary", | ||
"mimeType": "application/json", | ||
"properties": { | ||
"separator": "" | ||
} | ||
} | ||
], | ||
"resources": { | ||
"/main.dwl": "%dw 2.0\noutput application/json\n---\npayload." | ||
}, | ||
"fs": { | ||
"/main.dwl": "%dw 2.0\noutput application/json\n---\npayload" | ||
} | ||
} | ||
} |
18 changes: 9 additions & 9 deletions
18
api/src/main/resources/playground/api/examples/transform-request.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
|
||
{ | ||
"main": "/main.dwl", | ||
"inputs": [ | ||
{ | ||
"name": "payload", | ||
"content": "ewogICAgIm1lc3NhZ2UiOiAiSGVsbG8gd29ybGQhIgp9", | ||
"contentType": "application/json" | ||
"inputs": { | ||
"payload": { | ||
"value": "ewogICAgIm1lc3NhZ2UiOiAiSGVsbG8gd29ybGQhIgp9", | ||
"kind": "binary", | ||
"properties": {}, | ||
"mimeType": "application/json" | ||
} | ||
], | ||
"resources": { | ||
"/main.dwl": "%dw 2.0\noutput application/json\n---\npayload." | ||
}, | ||
"fs": { | ||
"/main.dwl": "%dw 2.0\noutput application/json\n---\npayload" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
api/src/main/resources/playground/api/examples/transform-response-success.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters