Skip to content

v0.2.1 — templated jsonBody responses + Docker docs

Choose a tag to compare

@omercelikdev omercelikdev released this 09 Jul 13:13
1a893c9

Patch release fixing WireMock-export migration and Docker onboarding.

Fixes

  • Templated jsonBody responses now work (#130). A response jsonBody was serialized with an
    encoder that escaped '', which broke WireMock's single-quoted helper arguments —
    {{jsonPath request.body '$.field'}} rendered empty, and {{now format='…'}} /
    {{randomValue type='UUID'}} ignored their args. jsonBody is now serialized verbatim (Jackson-equivalent),
    so templated bodies from real WireMock exports resolve correctly. Byte-diff differential regression added.
  • Docker: stubs now load (#129). docker run/compose mounted the stub dir at /work while the
    server reads <root-dir>/mappings — so nothing loaded. Mount is now /work/mappings. Added a
    Windows/PowerShell command (the bash \ line-continuation produced invalid reference format) and a
    named-tenant loading note.

Upgrade: docker pull ghcr.io/omercelikdev/mockifyr:0.2.1 (or :latest). Full CI green incl. the
Differential (WireMock oracle) suite.