-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate workflow sdk types. small fixes
- Loading branch information
1 parent
12af1de
commit 9d2beb5
Showing
10 changed files
with
256 additions
and
37 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
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
43 changes: 43 additions & 0 deletions
43
core/capabilities/webapi/webapicap/target_builders_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
62 changes: 62 additions & 0 deletions
62
core/capabilities/webapi/webapicap/webapi_target-schema.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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://github.com/smartcontractkit/chainlink/v2/core/capabilities/webapi/webapicap/web-api-target@1.0.0", | ||
"description": "A target that sends HTTP requests to a URL", | ||
"$defs": { | ||
"TargetPayload": { | ||
"type": "object", | ||
"properties": { | ||
"url": { | ||
"type": "string", | ||
"description": "The URL to send the request to" | ||
}, | ||
"method": { | ||
"type": "string", | ||
"description": "The HTTP method to use for the request" | ||
}, | ||
"headers": { | ||
"type": "object", | ||
"description": "The headers to include in the request", | ||
"additionalProperties" : { | ||
"type": "string" | ||
} | ||
}, | ||
"body": { | ||
"type": "string", | ||
"description": "The body of the request" | ||
} | ||
}, | ||
"required": ["url"], | ||
"additionalProperties": false | ||
}, | ||
"TargetConfig": { | ||
"type": "object", | ||
"properties": { | ||
"timeoutMs": { | ||
"type": "integer", | ||
"description": "The timeout in milliseconds for the request" | ||
}, | ||
"retryCount": { | ||
"type": "integer", | ||
"description": "The number of times to retry the request" | ||
}, | ||
"deliveryMode": { | ||
"type": "string", | ||
"description": "The delivery mode for the request" | ||
} | ||
}, | ||
"required": [], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"config": { | ||
"$ref": "#/$defs/TargetConfig" | ||
}, | ||
"inputs": { | ||
"$ref": "#/$defs/TargetPayload" | ||
} | ||
}, | ||
"required": ["config","inputs"] | ||
} |
84 changes: 84 additions & 0 deletions
84
core/capabilities/webapi/webapicap/webapi_target_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
core/capabilities/webapi/webapicap/webapicaptest/target_mock_generated.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.