Skip to content

Feature request: json response from /interactions/verification #123

@TimothyJones

Description

@TimothyJones

In pact-js, I'd like to be able to programatically query the verification of an interaction (especially when it is a failure) so that we can avoid the need to go to the logs, and can also do things like print out nice coloured diffs for different test frameworks.

At the moment, the endpoint returns a string that pact-js prints. Is it possible to get the option to return json instead (ideally includes all the diff information that is in the log file).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions