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

manyminds / api2go
80%
master: 81%

Build:
Build:
LAST BUILD BRANCH: refuse-unsupported-relation-edits
DEFAULT BRANCH: master
Repo Added 05 Aug 2015 06:56PM UTC
Files 12
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

LAST BUILD ON BRANCH jsonapi-error-members
branch: jsonapi-error-members
CHANGE BRANCH
x
Reset
  • jsonapi-error-members
  • 0.3
  • 0.4
  • 0.5
  • 0.6
  • 1.0-RC1
  • 1.0-RC2
  • 1.0-RC3
  • 1.0-RC4
  • 1067-location-header-item-route
  • 274-nested-resource-routes
  • HEAD
  • apiReturnCodes
  • asynchronous-processing
  • attributes-optional
  • badge-updates
  • bugfix-unmarshal-embedded-struct
  • bugfix-unmarshaler-interface
  • clean_string_fix
  • cleanup
  • context-package
  • coverage
  • custom-meta-in-relation
  • data-null-response
  • default_response
  • dependabot/go_modules/golang.org/x/crypto-0.31.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • different-types-to-many-relationship
  • documentation-middleware-context
  • documentation_upgrade
  • drop-go-17
  • dynamic_baseurl_handling
  • echo-adapter
  • example-create-with-relationships
  • export-errors
  • fix-crud-documentation
  • fix-double-forward-slash
  • fix-getFieldByTagName
  • fix-tests
  • foreignIDintegration
  • format-police-coverage
  • framework-routing
  • github-actions
  • go-17-travis
  • gofmt_simplify
  • handleUpdate-empty-information
  • hotfix
  • int64ids
  • internal-data-structs
  • ir-rn-upgrade-deps
  • issue-154
  • issue_stats
  • it-use-gomod-for-gha-versioning
  • jsonapi-ignore-tag
  • lint-only-on-some-versions
  • marshal-composition
  • marshal-includes-recursively
  • master
  • migration_guide
  • nested-item-get-route
  • nullValueUnmarshal
  • patch-id-conflict-error
  • private_fields_warning
  • readme-httperror
  • readme_fixes
  • readme_upgrade
  • refuse-unsupported-relation-edits
  • register-multple-api-versions
  • relation-edit-queued-status
  • remove-issuestats
  • remove-tip
  • remove_migration
  • report_card
  • router_replacement
  • security/golang.org-x-net
  • sharpner-lint-fix
  • sharpner-patch-1
  • sparse-fieldsets
  • unmarshal-slice-fix
  • unmarshaling-array-attributes
  • update-dependencies
  • update-travis
  • v0
  • v1

31 Aug 2026 04:37AM UTC coverage: 80.391%. First build
33357752917

Pull #7

josegonzalez
fix: put the error message in detail and a reason phrase in title

JSON:API defines `title` as "a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence" and `detail` as "a human-readable explanation specific to this occurrence", but `marshalHTTPError` put the per-request message straight into `title` and never sent `detail` at all. It now sends the status code's reason phrase as the title and the message as the detail, omitting the title for a status with no registered phrase. The error for a rejected `fields` query parameter had the same two members inverted and reported a `status` of `Bad Request` where the specification asks for the code, so it is corrected the same way.
Pull Request #7:

1480 of 1841 relevant lines covered (80.39%)

33.89 hits per line

Relevant lines Covered
Build:
Build:
1841 RELEVANT LINES 1480 COVERED LINES
33.89 HITS PER LINE
Source Files on jsonapi-error-members
  • Tree
  • List 12
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33357752917 jsonapi-error-members fix: put the error message in detail and a reason phrase in title JSON:API defines `title` as "a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence" and `detail` as "a human-readable explanation spec... Pull #7 31 Aug 2026 04:38AM UTC josegonzalez
80.39
See All Builds (672)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc