I try to use Typesafe HTTP contracts to generate s...
# http4k
m
I try to use Typesafe HTTP contracts to generate swagger descriptor. It's ok for the input data (JSON in body) :
Copy code
receiving(Pair(registerAction.registerInputLens, RegisterInput("", "", "", "", "")))
But i failed to configure output data (JSON too):
Copy code
returning("The result" to OK)
Where can I define my outputLens like for input ?