Skip to content

Commit 0ce53df

Browse files
authored
Fix inconsistency on function types on spec doc (#437)
Signed-off-by: Tihomir Surdilovic <[email protected]>
1 parent 9452d9c commit 0ce53df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specification.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
- [Inject State](#inject-state)
4545
- [ForEach State](#foreach-state)
4646
- [Callback State](#callback-state)
47-
+ [Related State Definition](#related-state-definition)
47+
+ [Related State Definitions](#related-state-definitions)
4848
- [Function Definition](#function-definition)
4949
- [Event Definition](#event-definition)
5050
- [Auth Definition](#auth-definition)
@@ -3106,15 +3106,15 @@ The `timeouts` property defines state specific timeout settings. Callback states
31063106
For more information on workflow timeouts reference the [Workflow Timeouts](#Workflow-Timeouts)
31073107
section.
31083108

3109-
#### Related State Definition
3109+
#### Related State Definitions
31103110

31113111
##### Function Definition
31123112

31133113
| Parameter | Description | Type | Required |
31143114
| --- | --- | --- | --- |
31153115
| name | Unique function name | string | yes |
31163116
| operation | If type is `rest`, <path_to_openapi_definition>#<operation_id>. If type is `asyncapi`, <path_to_asyncapi_definition>#<operation_id>. If type is `rpc`, <path_to_grpc_proto_file>#<service_name>#<service_method>. If type is `graphql`, <url_to_graphql_endpoint>#<literal \"mutation\" or \"query\">#<query_or_mutation_name>. If type is `odata`, <URI_to_odata_service>#<Entity_Set_Name>. If type is `expression`, defines the workflow expression. | string | no |
3117-
| type | Defines the function type. Is either `rest`, `rpc`, `odata` or `expression`. Default is `rest` | enum | no |
3117+
| type | Defines the function type. Is either `rest`, `asyncapi`, `rpc`, `graphql`, `odata` or `expression`. Default is `rest` | enum | no |
31183118
| authRef | References an [auth definition](#Auth-Definition) name to be used to access to resource defined in the operation parameter | string | no |
31193119
| [metadata](#Workflow-Metadata) | Metadata information. Can be used to define custom function information | object | no |
31203120

0 commit comments

Comments
 (0)