astahmer / openapi-zod-client

Generate a zodios (typescript http client with zod validation) from an OpenAPI spec (json/yaml)

Home Page:openapi-zod-client.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pass through description to zod describe

tonyxiao opened this issue · comments

Right now the description field in openAPI is ignored. transform.tools handles this correctly. Would love it in here too.

nice catch ! I think z.describe didnt exist or wasn't documented back when I first started this lib
feel free to open a PR for this, the relevant code should be around here