Hey Matt
how did you create the action?
> cat t.swift
struct Output: Codable {
let greeting: String
let extraValue: String
}
func main(completion: (Output?, Error?) -> Void) -> Void {
let result = Output(greeting: "Hello OpenWhisk!", extraValue:
"Snafu")
completion(result, nil)
}
> wsk action create c t.swift --kind swift:4.1
> wsk action invoke c -r
{
"extraValue": "Snafu",
"greeting": "Hello OpenWhisk!"
}
-r
Original message:
https://lists.apache.org/thread.html/043846f41f3fa18679d99c76aa9cc41935e28f2e2384af5ff3f4a880@%3Cdev.openwhisk.apache.org%3E