interledger-deprecated / five-bells-shared

Common elements that are shared between Five Bells components
Other
4 stars 5 forks source link

Replaces the schema validator tv4 with ajv #169

Closed dappelt closed 7 years ago

dappelt commented 7 years ago

The current schema validator tv4 is replaced with ajv. The new validator is faster and checks the schema soundness more thoroughly.

In addition, this PR fixes two broken schemas. The field "required" was within the array "properties". Therefore, the schema validator did not check that the field specified by required does exist.

codecov-io commented 7 years ago

Current coverage is 53.73% (diff: 60.00%)

Merging #169 into master will decrease coverage by 0.12%

@@             master       #169   diff @@
==========================================
  Files            23         23          
  Lines           752        750     -2   
  Methods         133        133          
  Messages          0          0          
  Branches        124        125     +1   
==========================================
- Hits            405        403     -2   
  Misses          347        347          
  Partials          0          0          

Powered by Codecov. Last update 15fda26...5ce8515