yunke-yunfly / fast-typescript-to-jsonschema

typescript-to-jsonschema generates JSON Schema files from your Typescript sources.
MIT License
33 stars 2 forks source link

新增通过 code 生成 jsonschema #24

Closed wangweianger closed 1 year ago

wangweianger commented 1 year ago
  1. 新增通过 code 生成 jsonschema
  2. 修复解析泛型不成功问题
codecov-commenter commented 1 year ago

Codecov Report

Merging #24 (2309a32) into master (176adcb) will decrease coverage by 0.78%. The diff coverage is 84.09%.

:exclamation: Current head 2309a32 differs from pull request most recent head 3d6cf1d. Consider uploading reports for the commit 3d6cf1d to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
- Coverage   94.88%   94.11%   -0.78%     
==========================================
  Files           3        3              
  Lines         802      867      +65     
  Branches      295      323      +28     
==========================================
+ Hits          761      816      +55     
- Misses         41       51      +10     
Impacted Files Coverage Δ
src/utils.ts 71.42% <14.28%> (-28.58%) :arrow_down:
src/get-jsonschema-from-data.ts 95.20% <66.66%> (-0.67%) :arrow_down:
src/typescript-to-file-datas.ts 94.22% <94.20%> (+0.47%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more