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

Change-Id: I3ada42bc15023348100ef2c47ba0830240e41633
This commit is contained in:
Scaffolder
2026-05-11 10:29:13 +00:00
commit 0a0006a895
16 changed files with 1398 additions and 0 deletions

20
docs/api.md Normal file
View File

@@ -0,0 +1,20 @@
# API Reference
Base URL: `https://sonar-test-go3.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 |