Skip to content

Add input validation to the Product API POST endpoint #8

@thomasiverson

Description

@thomasiverson

The POST /api/products endpoint accepts any payload without validation. Add Zod schema validation for required fields (name, price, supplierId).

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions