vega/ts-json-schema-generator

Name: ts-json-schema-generator

Owner: Vega

Description: Generate JSON schema from your Typescript sources

Forked from: xiag-ag/typescript-to-json-schema

Created: 2017-06-02 05:09:01.0

Updated: 2017-12-27 12:17:45.0

Pushed: 2017-12-30 23:26:02.0

Homepage: null

Size: 331

Language: TypeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ts-json-schema-generator

Build Status npm dependencies npm version

Extended version of https://github.com/xiag-ag/typescript-to-json-schema.

Inspired by YousefED/typescript-json-schema. Here's the differences list:

Usage
install --save ts-json-schema-generator
de_modules/.bin/ts-json-schema-generator \
--path 'my/project/**.*.ts' \
--type 'My.Type.Full.Name' \
--expose 'export' \
--topRef 'yes' \
--jsDoc 'extended'
Current state
Debug

npm run debug -- test/programs/type-alias-single/main.ts --aliasRefs true MyString

And connect via the debugger protocol.

AST Explorer is amazing for developers of this tool!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.