SF API Topic and Action Enablement
only-specific-types-response
general > only-specific-types-response
Guidance / Message
Only String, Number, Integer, Boolean, String with date and Object types are allowed in responses
Examples
valid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
responses:
"200":
description: operation description
content:
application/json:
schema:
type: object
properties:
something:
type: string
numberSomething:
type: number
booleanSomething:
type: boolean
invalid
get:
x-sfdc:
agent:
action:
publishAsAgentAction: true
responses:
"200":
description: operation description
content:
application/json:
schema:
type: object
properties:
something:
type: array
items:
type: string
Applies to Operation