Skip to content

Commit 9d54576

Browse files
author
Lasim
committed
refactor: migrate from zod-to-json-schema to zod-openapi for OpenAPI schema generation
- Replaced zod-to-json-schema with zod-openapi in user routes for improved schema handling. - Updated response schemas to use createSchema from zod-openapi. - Enhanced error handling in user routes to return consistent JSON responses. - Cleaned up user data responses to ensure only primitive types are returned. - Added global error handler in server setup to manage validation and internal errors uniformly.
1 parent 59d467c commit 9d54576

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+25551
-21264
lines changed

package-lock.json

Lines changed: 13 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)