A local HTTP mock API server driven by YAML specs
Project description
mockapi
mockapi is a small YAML-driven HTTP mock server for local development and API simulation.
The PyPI distribution name is mian-mohid-mockapi, while the CLI command remains mockapi.
Install
pip install mian-mohid-mockapi
Usage
mockapi serve spec.yaml
mockapi serve spec.yaml --port 3000
mockapi validate spec.yaml
Spec
Supported endpoint fields:
pathmethodstatus_coderesponseheadersoptionaldelayoptional in millisecondsdescriptionoptionalauthoptional, includingnone
See requirements/fr.md for the full functional requirements.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mian_mohid_mockapi-0.1.0.tar.gz.
File metadata
- Download URL: mian_mohid_mockapi-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6c3bdeda2d1425a088dd54b419833c91c71d3ecd79a8b4fbad72174a0ccbf7b
|
|
| MD5 |
56d9dfbd6d231aab7dd6a2c1619fda90
|
|
| BLAKE2b-256 |
fd80b2ac8920d989b9afdcfc1766927da6c7823b8408296731776436644e1d13
|
File details
Details for the file mian_mohid_mockapi-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mian_mohid_mockapi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96765199fbe35c3d1353fa2138cdcee6a925fae5c20e6d49c61087e54d025329
|
|
| MD5 |
a56b1589c5da9535a17451ce1d9320a1
|
|
| BLAKE2b-256 |
3d091d580d9006a413d0ea248a9c03d8d75e78ad81d1eb5aa52a18da2b459bec
|