ts-json-schema-generator
ts-json-schema-generator copied to clipboard
Generate JSON schema from your Typescript sources
Bumps [vega-lite](https://github.com/vega/vega-lite) from 5.20.1 to 5.21.0. Release notes Sourced from vega-lite's releases. Release 5.21.0 5.21.0 (2024-08-28) Bug Fixes #7724,#9414: Make ticks respect bin/timeUnit bands and custom band (#9415) (088094e), closes...
Closes https://github.com/vega/ts-json-schema-generator/issues/1355 Adding full type inference for template literals were quite a lot more work than first anticipated, particularly because `TemplateLiteralNodeParser` would narrow the type to a `LiteralType`, `StringType` or...
--- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/vega/ts-json-schema-generator?shareId=98408b5e-f505-4707-af7c-b3e5be698d51). 📦 Published PR as canary version: 2.3.1--canary.2067.707b946.0 :sparkles: Test out this PR locally via: ```bash npm install [email protected] # or yarn...
This might be a fringe case and I'm going to workaround it using Enums instead but I still think this is intersting and should probably be fixed / we should...
With two files ```typescript ///--- a.ts --- interface Foo{ bar:string } ///--- b.ts --- export * as Bar from "./a" ``` if I run ``` npx ts-json-schema-generator -p b.ts ```...
Hi, when create an Array literal type the parser works fine as the resulting node is `ArrayLiteralExpression` That is, when creating something like so: ```ts const myArr = ['a', 'b']...
The `ts-json-schema-generator` currently supports comments placed above properties, converting them into the corresponding description in the schema. However, it does not support adding descriptions for properties directly in the root...
Trying to make my way around using this library, so if I missed something please let me know. I have taken some inspiration from this test: https://github.com/vega/ts-json-schema-generator/blob/next/test/valid-data/discriminator/main.ts I want to...
All annotations that are possible such as `@discriminator`, `@title`, `@description` should be documented. https://github.com/vega/ts-json-schema-generator/blob/next/src/AnnotationsReader/BasicAnnotationsReader.ts is a good starting point. See https://github.com/vega/ts-json-schema-generator/issues/1819
The combination of an intersected type and type transform (e.g. any TypeScript Utility Type), can cause compilation to incorrect object type, on any non-primitive (e.g. Array, Tuple) child properties. ```ts...