initial commit
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m6s

Change-Id: Ie217b81d147f0eef5dcd2bf9285bc1e51bcf0d0b
This commit is contained in:
Scaffolder
2026-05-11 12:06:16 +00:00
commit dcd31c2464
16 changed files with 1399 additions and 0 deletions

20
docs/api.md Normal file
View File

@@ -0,0 +1,20 @@
# API Reference
Base URL: `https://sonar-test-nest2.kyndemo.live`
## Items `/api/items`
| Method | Path | Body | Response |
|--------|------|------|----------|
| GET | `/api/items` | — | Array of items |
| POST | `/api/items` | `{"name":"...","description":"..."}` | Created item (201) |
| GET | `/api/items/{id}` | — | Item or 404 |
| PUT | `/api/items/{id}` | `{"name":"...","description":"..."}` | Updated item |
| DELETE | `/api/items/{id}` | — | `{"deleted":id}` |
## Observability
| Path | Description |
|------|-------------|
| `/health` | Health check — `{"status":"UP"}` |
| `/metrics` | Prometheus exposition format |