What happened:
We are facing a JsonQueryException exception when trying to add "http://localhost:8089/v2/swagger.json" as argument of FuncDSL.openapi().document("http://localhost:8089/v2/swagger.json") method.
What you expected to happen:
To build a Workflow without exception.
How to reproduce it:
Create a workflow:
var w = FuncWorkflowBuilder.workflow("openapi-call-workflow")
.tasks(
openapi()
// "http://localhost:8089/v2/swagger.json" can't be parsed -> JsonQueryException
.document("http://localhost:8089/v2/swagger.json")
.operation("findPetsByStatus")
.parameters(Map.of("status", "available"))
)
.build();
Anything else we need to know?:
Environment:
- Specification version used:
What happened:
We are facing a JsonQueryException exception when trying to add "http://localhost:8089/v2/swagger.json" as argument of
FuncDSL.openapi().document("http://localhost:8089/v2/swagger.json")method.What you expected to happen:
To build a
Workflowwithout exception.How to reproduce it:
Create a workflow:
Anything else we need to know?:
Environment: