updated openapi
This commit is contained in:
@@ -10,7 +10,7 @@ This folder contains a standalone mock API for a multi-organization task manager
|
||||
- task, project, user, and org summary endpoints
|
||||
- write endpoints for creating tasks and updating task state
|
||||
- a small test suite covering seeded reads and task mutations
|
||||
- OpenAPI 3.1 document endpoints for import tooling
|
||||
- OpenAPI 3.0.3 document endpoints generated from the route registry
|
||||
- standalone Docker and Compose files for running the mock API by itself
|
||||
|
||||
## Domain Model
|
||||
@@ -140,8 +140,9 @@ docker compose up --build
|
||||
|
||||
## Files That Matter
|
||||
|
||||
- `src/index.ts`: HTTP routes and server startup
|
||||
- `src/openapi.ts`: importable OpenAPI 3.1 document
|
||||
- `src/index.ts`: server startup and route dispatch
|
||||
- `src/routes.ts`: shared route registry, handlers, and request contracts
|
||||
- `src/openapi.ts`: OpenAPI document generated from the route registry
|
||||
- `src/database.ts`: schema creation and seed data
|
||||
- `src/repository.ts`: query and mutation helpers
|
||||
- `scripts/seed.ts`: resets and reseeds the SQLite file
|
||||
|
||||
Reference in New Issue
Block a user