API Developer Guide
This folder contains:
- openapi.yaml — API contract for Phase B
- postman_collection.json — Ready-to-import Postman collection referencing {{baseUrl}}
- index.html — Local OpenAPI viewer via ReDoc (optional)
Usage
Postman
- Open Postman
- Import /api/postman_collection.json
- Set environment variable
baseUrlto your API base (e.g., http://localhost:3000) - For authenticated requests, set
ACCESS_TOKEN(via login endpoint first)
ReDoc (Local Viewer)
Open index.html in a browser to view the OpenAPI spec.
If served from a local web server (e.g., python -m http.server from this directory), you can browse the docs at:
http://localhost:8000/api/index.html
OpenAPI Tooling
- Generate clients/servers with tools like
openapi-generator - Validate spec with
spectralorswagger-cli(optional)