feat(schemas): T23 add Pydantic API key schemas
- Add ApiKeyCreate schema with OpenRouter key format validation - Add ApiKeyUpdate schema for partial updates - Add ApiKeyResponse schema (excludes key value for security) - Add ApiKeyListResponse schema for pagination - Export schemas from __init__.py - 100% coverage on new module (23 tests) Refs: T23
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
**Coverage auth:** 98%+
|
||||
|
||||
### 🔑 Gestione API Keys (T23-T29) - 0/7 completati
|
||||
- [ ] T23: Creare Pydantic schemas per API keys
|
||||
- [ ] T23: Creare Pydantic schemas per API keys - 🟡 In progress (2026-04-07 16:00)
|
||||
- [ ] T24: Implementare POST /api/keys (create)
|
||||
- [ ] T25: Implementare GET /api/keys (list)
|
||||
- [ ] T26: Implementare PUT /api/keys/{id} (update)
|
||||
|
||||
Reference in New Issue
Block a user