ts-json-schema-generator icon indicating copy to clipboard operation
ts-json-schema-generator copied to clipboard

Generate JSON schema from your Typescript sources

Results 178 ts-json-schema-generator issues
Sort by recently updated
recently updated
newest added

```typescript type UrlTypes = { /** * @pattern ^https:\/\/.*$ */ url: string; } interface AllFields { field1: string; field2: string; } type UrlFields = { [key in keyof AllFields]?: UrlTypes['url'];...

Hey! I've been using your project to help with json schema generation for my recent `kitajs` project. Its being great, but ive encountered some problems with my specific scenarios. This...

Hello, and thanks for the tool. Unfortunately, classes seem to be broken. For example: #### `foo.ts` ```ts export class Foo { field1 = "someValue"; field2?: string; } ``` Feeding this...

enhancement

This PR adds basic support to infer the type of properties without an explicit type (see #1406). For example: ```ts export class Foo { a = false; } ``` Previously,...

I have the following typescript code: ```ts export class Foo { a: boolean = false; b = false; } ``` ts-json-schema-generator generates the following schema: ```json { "$ref": "#/definitions/Foo", "$schema":...

enhancement
help wanted

Fixes #567! Happy to improve based on feedback.

Bumps [vega-lite](https://github.com/vega/vega-lite) from 5.16.3 to 5.17.0. Release notes Sourced from vega-lite's releases. Release 5.17.0 5.17.0 (2024-03-12) Bug Fixes add markDef.tooltip for interactive check (#9237) (3891832), closes #9190 /github.com/vega/vega-lite/blob/ffec017f638103c37d0dbe72cac7d44f4f44b9d6/src/compile/mark/mark.ts#L377-L381 duplicate sorting...

dependencies
javascript

I want to get the return type of an arrow function. Is it possible? Here is my sample code ``` export const mySample = () => { const result =...

enhancement
help wanted
good first issue

Suppose we have the following types: fileA: ``` export interface ClassA { property: string; } ``` fileB: ``` export interface ClassB { /** * @ref ./ClassA.json */ array: ClassA[]; }...

This PR is an attempt at solving https://github.com/vega/ts-json-schema-generator/issues/666 The approach taken here is heavily inspired by https://github.com/vega/ts-json-schema-generator/pull/667, of course updated to work against the `next` branch. From a high level,...