I'm trying to achieve dynamic contents from a trigger action, below is my open API code
{"/public/webhooks/flowModel/{flowModelId}/step/{stepId}": {
"post": {
"tags": [
"POST"
],
"summary": "When step is submitted",
"description": "This operation triggers...",
"operationId": "WhenStepSubmitted",
"consumes": [
"application/json",
"text/json",
"application/xml",
"text/xml",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
...
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object"
}
},
"default": {
"description": "OK",
"schema": {
"type": "object"
}
}
},
"x-ms-trigger": "single"
},
"x-ms-notification-content": {
"description": "Webhook",
"schema": {
"$ref": "#/definitions/WebhookNotification"
}
}
},
"WebhookNotification": {
"type": "object",
"properties": {},
"x-ms-dynamic-schema": {
"operationId": "GetStepFieldDict",
"parameters": {},
"value-path": "Schema"
},
"x-ms-dynamic-properties": {
"operationId": "GetStepFieldDict",
"parameters": {},
"itemValuePath": "Schema"
}
},
"/public/dynamicProperties": {
"get": {
"tags": [
"GET"
],
"summary": "GetStepFieldDict",
"operationId": "GetStepFieldDict",
"consumes": [],
"produces": [
"application/json",
"text/json",
"application/xml",
"text/xml"
],
"parameters": [
{
"name": "ngrok-skip-browser-warning",
"in": "header",
"required": true,
"type": "boolean",
"default": true,
"x-ms-visibility": "internal"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object"
}
},
"400": {
"description": "Invalid type specified"
},
"default": {
"description": "OK",
"schema": {
"type": "object"
}
}
},
"x-ms-visibility": "internal"
}
}
}
response from GetStepFieldDict is
{ "type": "object", "Schema": { "EmailSubject": { "type": "string", "description": "EmailSubject" }, "EmailBody": { "type": "string", "description": "EmailBody" } } }
the error is

Report
All responses (
Answers (