- Integrated Zod validation schemas across various API routes to ensure input integrity and improve error handling. - Updated `mapping-service`, `orchestrator`, `packet-service`, and `webhook-service` to utilize validation middleware for request parameters and bodies. - Improved error handling in webhook management, packet generation, and compliance routes to provide clearer feedback on request failures. - Added new validation schemas for various endpoints, enhancing overall API robustness and maintainability. - Updated dependencies in `package.json` to include the new validation library.
10 lines
200 B
TypeScript
10 lines
200 B
TypeScript
/**
|
|
* Validation package exports
|
|
* Provides Zod-based validation schemas and Express middleware
|
|
*/
|
|
|
|
export * from './validators';
|
|
export * from './middleware';
|
|
export * from './schema-validator';
|
|
|