Closed ostrowr closed 5 years ago
Merging #8 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #8 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 2 2
Lines 21 21
Branches 2 2
=====================================
Hits 21 21
Impacted Files | Coverage Δ | |
---|---|---|
src/json-schema.ts | 100% <ø> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 9e44a0d...5a18728. Read the comment docs.
Add partial support for $ref, definitions, and dependencies.
In general, users of this library should avoid using $ref for now, as it doesn't look up the type in dependencies and you lose strictness. Assign schemas to variables where possible, instead. Added this now to achieve full compliance with the json schema spec; now it's possible to define any valid JSON schema (that validates to the draft-07 meta-schema) within a createSchema call!