News for hackers. Stuff that matters.
Re:Show HN: Instant API – Build type-safe web APIs with Java... by Ciantic on Thursday October 26, 2023 @07:25AM (#38024136)
And if you like Zod, you might as well use this: https://github.com/asteasolutions/zod-to-openapi

It converts Zod types to OpenAPI specification.

Re:Show HN: Instant API – Build type-safe web APIs with Java... by vmfunction on Thursday October 26, 2023 @07:39AM (#38024247)
Or json schema, this https://www.npmjs.com/package/zod-to-json-schema

Json schema is more universal, and it can be used in .NET, Java, etc.