---
title: "msw-auto-mock"
description: "A generator for Mock Service Worker handlers from API descriptions."
pagination: false
---

{/* Generated from content/. Edit the catalog, not this page. */}

<PurposeNote title="Good for">Bootstrapping mocked API responses for frontend development.</PurposeNote>

## What it does

A generator for Mock Service Worker handlers from API descriptions.

## When it fits

Bootstrapping mocked API responses for frontend development.

## Other options in this category

<div data-pagefind-ignore>

- [@msw/playwright](/testing/msw-playwright) — Controlling network responses during browser-level application tests.
- [@mswjs/data](/testing/mswjs-data) — Building a stateful mocked backend for application test scenarios.
- [Argos](/testing/argos) — Detecting interface changes by comparing screenshots in development workflows.
- [enforce-unique](/testing/enforce-unique) — Avoiding duplicate fixture values while creating test data.
- [Faker](/testing/faker) — Creating sample users, records, and large development datasets.

</div>

## Source

[Project source for msw-auto-mock ↗](https://github.com/zoubingwu/msw-auto-mock)

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

[Test a user workflow →](/tasks/test-a-user-workflow)

[All testing &amp; mock data options →](/testing)
