• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bootprint / bootprint-json-schema / 29
66%

Build:
DEFAULT BRANCH: master
Ran 28 Mar 2017 09:48PM UTC
Jobs 6
Files 2
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
29

Pull #13

travis-ci

web-flow
Support type property as an array, according to JSON Schema Validation

In JSON Schema, the "type" property may be a string or an array of
strings. Previously, if type was set as array of strings (i.e., `"type":
["null", "array"]`) and there was also an "items" property defining
the array as items of type "integer," then bootprint-json-schema
would render the following:

    null,array

Additionally, the "items" property was not rendered.

The expected result for the given scenario is:

    null, integer[]

And the "items" property should be rendered with its defintion.

This supports the JSON Schema "type" as it is defined to allow an array
of strings. If one of the strings in that array is "array," then
`items.type` is used to render the datatype, and the "items" property is
also rendered.
Pull Request #13: Support type property as an array, according to JSON Schema Validation

39 of 55 branches covered (70.91%)

9 of 9 new or added lines in 1 file covered. (100.0%)

30 of 53 relevant lines covered (56.6%)

33.51 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
100.0
handlebars/helpers.js
Jobs
ID Job ID Ran Files Coverage
1 29.1 28 Mar 2017 09:48PM UTC 0
56.6
Travis Job 29.1
2 29.2 28 Mar 2017 09:48PM UTC 0
56.6
Travis Job 29.2
3 29.3 28 Mar 2017 09:48PM UTC 0
56.6
Travis Job 29.3
4 29.4 28 Mar 2017 09:48PM UTC 0
56.6
Travis Job 29.4
5 29.5 28 Mar 2017 09:48PM UTC 0
56.6
Travis Job 29.5
6 29.6 28 Mar 2017 09:50PM UTC 0
56.6
Travis Job 29.6
Source Files on build 29
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #29
  • Pull Request #13
  • PR Base - master (#27)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc