hitspec docs
Output AI-readable documentation (llms.txt) for AI agents to learn hitspec syntax.
hitspec serve
Start a browser-based API Client Manager for working with hitspec files.What It Provides
- Web-based UI for editing and running API tests
- REST API for programmatic access
- Real-time file watching with WebSocket updates
- Stress testing dashboard
- Mock server management
Flags
| Flag | Short | Description | Default |
|---|---|---|---|
--port | -p | Port to run the server on | 4000 |
--host | Bind address | localhost | |
--open | Auto-open browser | true | |
--watch | -w | Watch for file changes | true |
--cors | Enable CORS headers | false | |
--api-only | REST API only, no web UI | false | |
--read-only | Disallow file mutations | false | |
--env | -e | Default environment | dev |
--config | Path to hitspec.yaml | ||
--verbose | -v | Verbose logging | false |
--allow-shell | Allow shell command execution | false | |
--allow-db | Allow database assertions | false |