SF API Topic and Action Enablement

schema-composition-not-supported-response

general > schema-composition-not-supported-response


Guidance / Message

OAS 3.0 schema combination is not supported (not, anyOf, allOf, oneOf) in responses

Examples

valid

get:
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  responses:
    "200":
      description: operation description
      content:
        application/json:
          schema:
            type: string

invalid

get:
  x-sfdc:
    agent:
      action:
        publishAsAgentAction: true
  responses:
    "200":
      description: operation description
      content:
        application/json:
          schema:
            allOf:
              - type: string
              - type: boolean

Applies to Operation

Constraint

Type: Declarative Validation
TypeRuleset
OrganizationMuleSoft
Published by
Mulesoft Organization
Published onOct 26, 2026
Asset overview

Asset versions for 1.2.x

Asset versions
VersionActions
1.2.0

Tags