SF API Topic and Action Enablement

operation-must-have-input

general > operation-must-have-input


Guidance / Message

API Operation must have at least uri or query parameters with description or request with a body and description

Examples

valid

get:
  operationId: get-operation
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  requestBody:
    description: this is a description
    content:
      application/json:
        schema:
          type: string

invalid

get:
  operationId: get-operation
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  requestBody:
    content:
      application/json:
        schema:
          type: string

Applies to Operation

Constraint

Type: Declarative Validation
TypeRuleset
OrganizationMuleSoft
Published by
MuleSoft Organization
Published onMar 21, 2025
Asset overview

Asset versions for 1.1.x

Asset versions
VersionActions
1.1.1
1.1.0

Tags