├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .github └── workflows │ ├── npm-publish.yml │ └── test.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.js ├── CHANGELOG.md ├── CONTRIBUTING.en-US.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── README.zh-cn.md ├── commitlint.config.js ├── cspell.json ├── docs ├── enum.en-US.md ├── enum.md ├── extends.en-US.md ├── extends.md ├── generic.en-US.md ├── generic.md ├── index.en-US.md ├── index.md ├── interface.en-US.md ├── interface.md ├── module.en-US.md ├── module.md ├── namespace.en-US.md ├── namespace.md ├── note.en-US.md ├── note.md ├── toolFn-en-US.md ├── toolFn.md ├── type.en-US.md └── type.md ├── example ├── test.js └── type.ts ├── jest.config.js ├── jest ├── TestController.ts ├── common.ts ├── doc.ts ├── enum.ts ├── generic.ts ├── generic_1.ts ├── index.ts ├── interface.ts ├── module.ts ├── module_type_export_all.ts ├── module_type_export_group.ts ├── module_types_1.ts ├── namespace.ts ├── npm.ts ├── other.ts ├── toolfn.ts └── tstype.ts ├── package.json ├── src ├── __tests__ │ ├── __snapshots__ │ │ ├── code.test.ts.snap │ │ ├── doc.test.ts.snap │ │ ├── enum.test.ts.snap │ │ ├── generic.test.ts.snap │ │ ├── interface.test.ts.snap │ │ ├── module.test.ts.snap │ │ ├── namespace.test.ts.snap │ │ ├── other.test.ts.snap │ │ ├── toolfn.test.ts.snap │ │ └── tstype.test.ts.snap │ ├── code.test.ts │ ├── doc.test.ts │ ├── enum.test.ts │ ├── generic.test.ts │ ├── interface.test.ts │ ├── module.test.ts │ ├── namespace.test.ts │ ├── other.test.ts │ ├── toolfn.test.ts │ └── tstype.test.ts ├── get-jsonschema-from-data.ts ├── index.ts ├── types.ts ├── typescript-to-file-datas.ts └── utils.ts ├── test ├── test.js ├── types.ts └── types_1.ts ├── tsconfig.json └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/npm-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.github/workflows/npm-publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/CONTRIBUTING.en-US.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/README.zh-cn.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /cspell.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/cspell.json -------------------------------------------------------------------------------- /docs/enum.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/enum.en-US.md -------------------------------------------------------------------------------- /docs/enum.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/enum.md -------------------------------------------------------------------------------- /docs/extends.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/extends.en-US.md -------------------------------------------------------------------------------- /docs/extends.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/extends.md -------------------------------------------------------------------------------- /docs/generic.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/generic.en-US.md -------------------------------------------------------------------------------- /docs/generic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/generic.md -------------------------------------------------------------------------------- /docs/index.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/index.en-US.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/interface.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/interface.en-US.md -------------------------------------------------------------------------------- /docs/interface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/interface.md -------------------------------------------------------------------------------- /docs/module.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/module.en-US.md -------------------------------------------------------------------------------- /docs/module.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/module.md -------------------------------------------------------------------------------- /docs/namespace.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/namespace.en-US.md -------------------------------------------------------------------------------- /docs/namespace.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/namespace.md -------------------------------------------------------------------------------- /docs/note.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/note.en-US.md -------------------------------------------------------------------------------- /docs/note.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/note.md -------------------------------------------------------------------------------- /docs/toolFn-en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/toolFn-en-US.md -------------------------------------------------------------------------------- /docs/toolFn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/toolFn.md -------------------------------------------------------------------------------- /docs/type.en-US.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/type.en-US.md -------------------------------------------------------------------------------- /docs/type.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/docs/type.md -------------------------------------------------------------------------------- /example/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/example/test.js -------------------------------------------------------------------------------- /example/type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/example/type.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest/TestController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/TestController.ts -------------------------------------------------------------------------------- /jest/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/common.ts -------------------------------------------------------------------------------- /jest/doc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/doc.ts -------------------------------------------------------------------------------- /jest/enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/enum.ts -------------------------------------------------------------------------------- /jest/generic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/generic.ts -------------------------------------------------------------------------------- /jest/generic_1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/generic_1.ts -------------------------------------------------------------------------------- /jest/index.ts: -------------------------------------------------------------------------------- 1 | export interface AAA { 2 | other1: string; 3 | } -------------------------------------------------------------------------------- /jest/interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/interface.ts -------------------------------------------------------------------------------- /jest/module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/module.ts -------------------------------------------------------------------------------- /jest/module_type_export_all.ts: -------------------------------------------------------------------------------- 1 | export * from './module_types_1'; 2 | -------------------------------------------------------------------------------- /jest/module_type_export_group.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/module_type_export_group.ts -------------------------------------------------------------------------------- /jest/module_types_1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/module_types_1.ts -------------------------------------------------------------------------------- /jest/namespace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/namespace.ts -------------------------------------------------------------------------------- /jest/npm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/npm.ts -------------------------------------------------------------------------------- /jest/other.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/other.ts -------------------------------------------------------------------------------- /jest/toolfn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/toolfn.ts -------------------------------------------------------------------------------- /jest/tstype.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/jest/tstype.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/package.json -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/code.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/code.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/doc.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/doc.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/enum.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/enum.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/generic.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/generic.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/interface.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/interface.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/module.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/module.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/namespace.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/namespace.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/other.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/other.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/toolfn.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/toolfn.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/__snapshots__/tstype.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/__snapshots__/tstype.test.ts.snap -------------------------------------------------------------------------------- /src/__tests__/code.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/code.test.ts -------------------------------------------------------------------------------- /src/__tests__/doc.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/doc.test.ts -------------------------------------------------------------------------------- /src/__tests__/enum.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/enum.test.ts -------------------------------------------------------------------------------- /src/__tests__/generic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/generic.test.ts -------------------------------------------------------------------------------- /src/__tests__/interface.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/interface.test.ts -------------------------------------------------------------------------------- /src/__tests__/module.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/module.test.ts -------------------------------------------------------------------------------- /src/__tests__/namespace.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/namespace.test.ts -------------------------------------------------------------------------------- /src/__tests__/other.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/other.test.ts -------------------------------------------------------------------------------- /src/__tests__/toolfn.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/toolfn.test.ts -------------------------------------------------------------------------------- /src/__tests__/tstype.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/__tests__/tstype.test.ts -------------------------------------------------------------------------------- /src/get-jsonschema-from-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/get-jsonschema-from-data.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/typescript-to-file-datas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/typescript-to-file-datas.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/test/test.js -------------------------------------------------------------------------------- /test/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/test/types.ts -------------------------------------------------------------------------------- /test/types_1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/test/types_1.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yunke-yunfly/fast-typescript-to-jsonschema/HEAD/yarn.lock --------------------------------------------------------------------------------