Skip to content

v0.1.3 — dashboard stub create/edit fix

Choose a tag to compare

@omercelikdev omercelikdev released this 08 Jul 11:46
8de94dc

Fixes the showstopper where creating/editing a stub in the dashboard appeared to lose data and the mock "stopped working."

Fixed

  • GET /__admin/mappings now returns the full mapping, not just an id. Previously the stub list read every stub as a placeholder (ANY /), the editor seeded nothing, and re-saving overwrote the stub — so it looked like nothing was saved and the mock stopped serving. The editor now reverse-maps the full mapping so an edit never loses data; the JSON tab shows the exact source.

Also in this release

  • Webhook delay support (WireMock postServeActions delay) + headers/delay in the editor.
  • GET /__admin/tenants — the switcher surfaces tenants created via the API.
  • New tenants read as empty in sample mode; dashboard + sidebar show live counts.

Image

ghcr.io/omercelikdev/mockifyr:latest · :0.1.3linux/amd64 + linux/arm64.

docker run -p 8080:8080 -v "$PWD/mappings:/work" ghcr.io/omercelikdev/mockifyr:latest --root-dir /work

Dashboard: http://localhost:8080/__mockifyr

Verified

End-to-end against a live host: create POST /orders (201 + body + header matcher) → the list shows it → the editor seeds every field → saving keeps the mock serving POST /orders → 201 (no data loss). Full differential suite green.