A minimal FastAPI app demonstrating Delimit API governance.
Every pull request is automatically checked for breaking API changes using the Delimit GitHub Action.
- A working API -- CRUD task management built with FastAPI
- An OpenAPI spec -- checked into
api/openapi.yaml, generated from the app - Delimit CI --
.github/workflows/api-governance.ymlruns on every PR - A breaking change branch --
break-the-apiintroduces breaking changes so you can see Delimit in action
pip install -r requirements.txt
uvicorn app.main:app --reloadOpen http://localhost:8000/docs to see the interactive API docs.
Check the open pull request from break-the-api to see the Delimit Action report.
The breaking changes include:
- Removed
DELETE /api/tasks/{task_id}endpoint - Renamed
assigneefield toassigned_to - Added required
priorityfield to task creation - Changed
uptimeresponse type from integer to string
- Delimit -- API governance for every PR
- Delimit GitHub Action
- delimit-cli on npm