Commit Graph

13 Commits

Author SHA1 Message Date
John Yeo
238ca5d180 wip 2025-10-03 19:59:30 +01:00
John Yeo
3b99b79ef8 feat: working on openapi 2025-10-03 17:19:13 +01:00
John Yeo
6f42a8ccfb fix: types 2025-10-03 12:19:26 +01:00
John Yeo
9ab609d870 feat: added api / openapi models to shared folder 2025-10-03 11:57:40 +01:00
John Yeo
9b6f57f872 feat: Add OpenAPI schemas for Features, Entities, Core, and Customers (ENG-628)
- Created operation models and OpenAPI specs for Features (Create, Update, List, Get, Delete)
- Created operation models and OpenAPI specs for Entities (Create, List, Get, Delete)
- Created operation models and OpenAPI specs for Core endpoints (Cancel, Track, Query)
- Created operation models and OpenAPI specs for Customers (Create, Update, List, Get, Delete)
- Fixed bug: Added 'archived' field to UpdateProductV2Params
- Fixed enum usage: Changed z.enum() to z.nativeEnum() for TypeScript enums
- Updated all OpenAPI specs to use requestParams format (path/query with zod schemas)
- Created shared SuccessResponseSchema in common/commonResponses.ts
- Updated models.ts to export all new schemas and OpenAPI operations
- Changed OpenAPI export to JSON format (YAML export has serialization issues with zod schemas)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-02 14:55:58 +01:00
John Yeo
fd7361b0bd fix: api customer schema 2025-10-02 13:48:01 +01:00
John Yeo
e5435c48a2 feat: moved update product to new router 2025-10-02 10:41:17 +01:00
John Yeo
dfa2e203fd reworking create product 2025-10-01 19:50:17 +01:00
John Yeo
5fb28db4bc fixing error handling 2025-10-01 16:17:15 +01:00
John Yeo
96e0e8c2ce feat: created api product and api feature zod schemas 2025-09-30 19:08:50 +01:00
John Yeo
8778057e6f chore: creating shared/api structure 2025-09-30 13:52:43 +01:00
John Yeo
9eef072f91 wip 2025-09-30 10:40:05 +01:00
John Yeo
3d0e4f94f2 wip 2025-09-29 11:15:23 +01:00