stdin/stdout for JSON-RPC requests and exposes production-ready tools that inspect your contract and run tests.
Available tools
listEndpoints
listEndpoints
Returns all contracted endpoints with their HTTP methods and statuses.Input: none.
getEndpoint
getEndpoint
Returns the request and response schemas for a specific endpoint.Input:
method (string), url (string).inspect
inspect
Runs a full contract inspection (
bazable inspect --json --ci) and returns violations as JSON.Input: none.test
test
Runs mock tests on all endpoints (
bazable test --json --mock --all) and returns pass/fail results.Input: none.Usage
Options
This command takes no options.