json-schema-to-typescript icon indicating copy to clipboard operation
json-schema-to-typescript copied to clipboard

Compile JSON Schema to TypeScript type declarations

Results 199 json-schema-to-typescript issues
Sort by recently updated
recently updated
newest added

For the "Not expressible in TypeScript:" list in the README, I am wondering whether you would be interested in providing default output whereby such items could be expressed as jsdoc...

enhancement
help wanted
in discussion
good first issue

Hi, I'm using this tool in my project and I was thinking that it would be good if the tool added a union type for arrays when translating a JSON...

enhancement
in discussion

Currently there is no way how to pass to CLI file with banner ( banners tends to be longer than one line comment ) **Current solution:** ```sh json2ts -i events.json...

enhancement
help wanted
good first issue

I have a json schema using keyword $merge (to merge two subschemas, where allof fails due to the 'additionalProperties=false' issue). Passing it through the json-schema-to-typescript gives an empty interface.

help wanted
in discussion

So we have project with structure like `project/apidocs/entitity` `project/apidocs/response` `project/ts-apidocs/entitity` `project/ts-apidocs/response` if we launch cli tool like `cd apidocs && json2ts -i ./response/**/*.json -o ../ts-apidocs` we have a file `./apidocs/response/Something.json`...

in discussion

Some popular packages, like [Ramda](https://github.com/ramda/ramda#installation), allow installation from [Deno](https://deno.land/), - a js/ts environment, much more secure than NodeJS, made by Ryan Dahl, author of NodeJS (with ts being first-class citizen,...

enhancement
help wanted

The `oneOf` properties is described in README as `Not expressible in TypeScript`. I recently discovered the discriminated union type with a mutual exclusion, which fit perfectly with a XOR: ```typescript...

in discussion

Fixes #272 - adds new option `--exportMainOnly` (default to false) which causes all definition types to be not exported - adds new option `usedNames` (not available to command line) which...

Hi @bcherny, Once again, thanks for your great work! I'm having a strange situation, might be considered as a bug, or a feature... depends on your interpretation. For me it's...

bug
help wanted

Hi there ! I have a problem with property, ref and description. If two properties of a type have the same ref definitions and two different descriptions, `json2ts` duplicate the...

enhancement
in discussion