# prism
**Licence:** Apache-2.0 | **Language:** TypeScript | **Source:** https://github.com/stoplightio/prism
## Role
Spec-driven mock and validation
## Why it's here
Runs a mock straight from your OpenAPI document and validates requests and responses against the spec.
## Running it
Started by `docker compose up -d` on port 4010.
```bash
./fetch-sources.sh ./sources
tar xzf ./sources/prism.tar.gz -C ./sources
```