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

Change-Id: I19e8c6bc06df47362cec13220ea292d24be0f734
This commit is contained in:
Scaffolder
2026-05-07 13:43:49 +00:00
commit a709e5abe8
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-pyt.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 |