这是indexloc提供的服务,不要输入任何密码
Skip to content

Zod plugin tasks #1320

@mrlubos

Description

@mrlubos
  • generate schemas for requests
  • generate schemas for responses
  • generate default values for plain definitions (currently it works only with object properties)
  • configurable naming pattern (need to think how to handle variation of IR models, we don't want to have x options for each type, services plugin could adopt that pattern too)
  • handle circular references
  • constraints .min(), .max(), etc
  • default values with .default()
  • default naming pattern prefixed with z, e.g. zFoo
  • generate schemas for errors
  • check the remaining response schemas that generate as z.unknown()
  • string patterns
  • object with unknown additional properties
  • date-time with offset
  • incorrect regex (?)
  • global validators (?)

Metadata

Metadata

Assignees

Labels

feature 🚀New feature or requestprioritized 🚚This issue has been prioritized and will be worked on soon

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions