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

danivek / json-api-serializer / 372 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 02 Jul 2020 07:02AM UTC
Files 5
Run time 1s
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

02 Jul 2020 07:01AM UTC coverage: 100.0%. Remained the same
372.2

push

travis-ci

web-flow
feat: improve error serialization (#111)

Improves the serialization of errors to be compliant with the JSON:API
spec:

* Remove explicit check for `Error` instances and, instead, validate
  both instances of `Error` and POJOs using `validateError`
* Restrict `links` object properties to `about`
* Restrict `links.about` object property type to string
* Restrict `source` object properties to `pointer` and `parameter`
* Restrict `meta` object property type to object
* Add function for validating `status` against a list of known HTTP
  status codes
* Restrict `status` object property type to number
* Support both `status` and `statusCode` properties
* Add tests for new functionality
* Update tests for changed functionality
* Update README.md with additional usage examples

closes #110 
closes #111

493 of 510 branches covered (96.67%)

484 of 484 relevant lines covered (100.0%)

38.86 hits per line

Source Files on job 372.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 191
  • Travis Job 372.2
  • 7aafe29c on github
  • Prev Job for on master (#367.1)
  • Next Job for on master (#373.3)
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

© 2026 Coveralls, Inc