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

Hello, I'm trying to use your module to progamaticly generate JSON Schema from my defined types. Most of my custom types extends from packages types, such as Prisma. I don't...

bug
help wanted
good first issue

I am experiencing an incorrect typing issue in TypeScript when using Omit on an interface that inherits properties from a grandparent interface. Steps to Reproduce * Define a grandparent interface...

bug
help wanted
good first issue

This PR adds a new cli under the name of `tjsg`. I kept the previous `ts-json-schema-generator` intact to keep compatibility with older versions and avoid another breaking release. Also updated...

enhancement

According to https://github.com/vega/ts-json-schema-generator?tab=readme-ov-file#options, `--expose` can be set to all, none, or all exported not `@internal` types. It would be helpful if `--expose` could also be set to a list of...

enhancement
good first issue

Need a way to handle this problem in the generator: https://github.com/json-editor/json-editor/pull/1446 The inspiration repo implements it with optional paramater `--constAsEnum Use enums with a single value when declaring constants.`: https://github.com/YousefED/typescript-json-schema

enhancement
help wanted
good first issue

Hello, I would like to exclude properties that starts with a underscore which pollute a type I don't have any control on ```ts // npm install -D @types/fhir import type...

enhancement
help wanted
good first issue

Related to: [#1921](https://github.com/vega/ts-json-schema-generator/issues/1921#issuecomment-2092568216), #1927, and #1930 With the release of 2.1.0, I started seeing schema validation errors. Below is an example where a field in an interface could be a...

bug
help wanted

The Salesforce CLI uses this package to ensure we don't break any of our `--json` output, which has been super useful, but I think I've found a bug in the...

bug
help wanted

This issue potentially stems from incorrect use of this library. I want to convert all of the types in the [v9.ts](https://github.com/discordjs/discord-api-types/blob/main/v9.ts): ```ts export * from './gateway/v9'; export * from './globals';...

enhancement

📦 Published PR as canary version: 2.0.2--canary.1928.54a940b.0 :sparkles: Test out this PR locally via: ```bash npm install [email protected] # or yarn add [email protected] ```