Skip to content

Commit 19070f0

Browse files
author
Tihomir Surdilovic
authored
Merge pull request #54 from tsurdilo/addgrpcfunc
Add grpc function def
2 parents de787cd + 22e1b5d commit 19070f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

api/src/main/resources/schema/functions/functiondef.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
},
1010
"operation": {
1111
"type": "string",
12-
"description": "If type `rest`, combination of the function/service OpenAPI definition URI and the operationID of the operation that needs to be invoked, separated by a '#'. If type is `expression` defines the workflow expression.",
12+
"description": "If type is `rest`, <path_to_openapi_definition>#<operation_id>. If type is `rpc`, <path_to_grpc_proto_file>#<service_name>#<service_method>. If type is `expression`, defines the workflow expression.",
1313
"minLength": 1
1414
},
1515
"type": {
1616
"type": "string",
17-
"description": "Defines the function type. Is either `rest` or `expression`. Default is `rest`",
17+
"description": "Defines the function type. Is either `rest`, `rpc` or `expression`. Default is `rest`",
1818
"enum": [
1919
"rest",
20+
"rpc",
2021
"expression"
2122
],
2223
"default": "rest"

0 commit comments

Comments
 (0)