Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mswjs/source
Generate MSW request handlers from various sources (HAR files, OpenAPI documents, etc).
https://github.com/mswjs/source
api generate handlers har mock-service-worker mocking msw openapi request swagger
Last synced: 3 days ago
JSON representation
Generate MSW request handlers from various sources (HAR files, OpenAPI documents, etc).
- Host: GitHub
- URL: https://github.com/mswjs/source
- Owner: mswjs
- Created: 2021-02-14T00:17:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-31T02:10:36.000Z (2 months ago)
- Last Synced: 2024-10-29T09:56:57.990Z (15 days ago)
- Topics: api, generate, handlers, har, mock-service-worker, mocking, msw, openapi, request, swagger
- Language: TypeScript
- Homepage: https://source.mswjs.io
- Size: 3.41 MB
- Stars: 141
- Watchers: 4
- Forks: 6
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
Source
Generate MSW request handlers from HAR files, OpenAPI documents, and other sources.
## Motivation
This library has been created to simplify the mocking workflow when working with Mock Service Worker.
> [Learn more about the motivation behind Source](https://source.mswjs.io/docs/).
## Documentation
- [**Getting started**](https://source.mswjs.io/docs/getting-started)
- [Using network archives (HAR)](https://source.mswjs.io/docs/integrations/har)
- [Using OpenAPI (Swagger) documents](https://source.mswjs.io/docs/integrations/open-api)## Support the project
If you find this project helpful, please consider becoming our [GitHub sponsor](https://github.com/sponsors/mswjs). Your contributions help us maintain and develop new open-source libraries to help the entire ecosystem with testing. Thank you!
## Special thanks
- [Weyert de Boer](https://github.com/weyert) for the original implementation of [`@tapico/msw-webarchive`](https://github.com/Tapico/tapico-msw-webarchive).