All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schema.functions.functiondef.json Maven / Gradle / Ivy

There is a newer version: 7.0.0-alpha5.1
Show newest version
{
  "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