SF API Topic and Action Enablement
schema-composition-not-supported-params
general > schema-composition-not-supported-params
Guidance / Message
OAS 3.0 schema combination is not supported (not, anyOf, allOf, oneOf) in parameters
Examples
valid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
parameters:
- name: param1
in: header
schema:
type: string
invalid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
parameters:
- name: param1
in: header
schema:
allOf:
- type: string
- type: integer
Applies to Operation