You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Find an ergonomic way (minimize boilerplate and code duplication) to get typed, zod-validated express routes and an OpenAPI
schema at the same time
Minimize code duplication and boilerplate between express routes, request parameter validation, and OpenAPI definitions
Highlights
base Controller class that consolidates creation of express route, zod-validated request parameters, OpenAPI definition, and getting a typed express.RouteHandler: src/zod-openapi-express-routes/zod-api.controller.ts