Skip to content

Static mocks feature not working in v0.4.1 #153

@DawMatt

Description

@DawMatt

Issue:

It looks like the fix to issue #150 has disabled the new static mock dir feature.

Steps to reproduce:

  1. Attempt to start static mocking using a command similar to follows:
    wiretap --static-mock-dir .\mocks

Expected result:

Static mocking operates as per documentation page.

Actual result:

wiretap version: 0.4.1 | compiled: Thu, 20 Feb 2025 07:03:39 UTC
Designed and built by Princess Beef Heavy Industries: https://pb33f.io/wiretap

 INFO  No wiretap configuration located. Using defaults

 WARNING  No OpenAPI specification provided. Please provide a path to an OpenAPI specification using the --spec or -s flags.
          Without an OpenAPI specification, wiretap will not be able to validate requests and responses


  ERROR   No redirect URL provided. Please provide a URL to redirect API traffic to using the --url or -u flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions