
# yapi CLI-first API testing for HTTP, GraphQL, gRPC, and TCP. ## The Workflow yapi enables test-driven API development. Write the test first, then implement until it passes: 1. **Write the test** - Create a `.yapi.yml` file with the expected behavior 2. **Run it** - `yapi run file.yapi.yml` (it will fail) 3. **Implement/fix** - Build the API endpoint 4. **Iterate** - Refine assertions, add edge cases This loop is the core of agentic API development with yapi. --- ## Environment Setup (Do
# yapi — LLM Skill Guide yapi is a CLI-first, git-friendly API client. You define requests in YAML files and run them from the terminal. No GUI, no accounts, no state — just files and a binary. ## When to Use yapi - Send HTTP, gRPC, GraphQL, or TCP requests - Chain multiple requests together (auth flow, then use the token) - Assert on responses (status codes, body content via JQ) - Run API test suites with `yapi test` - Poll endpoints until a condition is met ## Core Concepts **Every reques