asteasolutions / zod-to-openapi

A library that generates OpenAPI (Swagger) docs from Zod schemas
MIT License
997 stars 61 forks source link

Add missing format for string #256

Closed Raphael-Bahuau closed 1 month ago

Raphael-Bahuau commented 2 months ago

Hello your lib is great, but could you add missing format for string ?

I would like to be able to use z.string().ip().

Here is the missing format list :

Thanks !

AGalabov commented 1 month ago

@Raphael-Bahuau this was release with v7.2.0 for all formats that zod supports.

Raphael-Bahuau commented 1 month ago

Thank for support 👍 I will upgrade !