SF API Topic and Action Enablement

schema-composition-not-supported-request

general > schema-composition-not-supported-request


Guidance / Message

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

Examples

valid

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

invalid

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

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