Skip to content

JsonQueryException when using FuncDSL.openapi #1303

Description

@mathecruz

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:

Activity

  1. changed the title [-]JsonQueryException when usingn[/-] [+]JsonQueryException when using FuncDSL.openapi[/+] on Apr 13, 2026
  2. fjtirado commented on Apr 14, 2026

    @fjtirado
    Collaborator

    I think the swagger.json file failing is needed

  3. added 2 commits that reference this issue on Apr 15, 2026
    6e628a9
    cd046db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions