Hacker GitHub

← All repos

vega/ts-json-schema-generator

View on GitHub ↗ ★ 1,720 TypeScript

Generate JSON schema from your Typescript sources

4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2020-02-01 · latest 2024-04-30

Mentions per year 4 mentions · busiest year 2020 (1)
20082026
  1. This looks interesting but I already have TypeScript types for my APIs so I developed https://github.com/vega/ts-json-schema-generator which lets me generate JSON schema from the sources directly. Yes, it does have some oddities because…
  2. Not OP, but we have a very similar setup. We use https://github.com/vega/ts-json-schema-generator in a prebuild hook to generate a schema from Typescript. The schema is then fed into Fastify, and referenced in route configurations for…
  3. …schema; https://github.com/YousefED/typescript-json-schema (and also check out a good alternative https://github.com/vega/ts-json-schema-generator )
    comment by YousefED · 2021-09-10 · in JSON Schema bundling formalised
  4. ts-json-schema-generator[1] generates a schema from an annotated interface definition. [1] https://github.com/vega/ts-json-schema-generator