schema.functions.functiondef.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of serverlessworkflow-api Show documentation
Show all versions of serverlessworkflow-api Show documentation
Java SDK for Serverless Workflow Specification
{
"type": "object",
"javaType": "io.serverlessworkflow.api.functions.FunctionDefinition",
"properties": {
"name": {
"type": "string",
"description": "Function unique name",
"minLength": 1
},
"operation": {
"type": "string",
"description": "If type is `rest`, #. If type is `rpc`, ##. If type is `expression`, defines the workflow expression.",
"minLength": 1
},
"type": {
"type": "string",
"description": "Defines the function type. Is either `rest`, `asyncapi, `rpc`, `graphql`, `odata`, `expression`, or `custom`. Default is `rest`",
"enum": [
"rest",
"asyncapi",
"rpc",
"graphql",
"odata",
"expression",
"custom"
],
"default": "rest"
},
"authRef": {
"type": "string",
"description": "References an auth definition name to be used to access to resource defined in the operation parameter",
"minLength": 1
},
"metadata": {
"$ref": "../metadata/metadata.json"
}
},
"required": [
"name"
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy