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

Teamwork / kommentaar / 25836839371

14 May 2026 01:47AM UTC coverage: 53.429% (+0.4%) from 53.04%
25836839371

Pull #112

github

seanogdev
Add InferRequired config to mark response fields required by Go type

When enabled, struct fields used in response/body schemas are added to
the parent's `required` array unless the field is a pointer, has
`omitempty` in its struct tag, or carries an explicit `{optional}` doc
tag. Path/query/form parameters are unaffected — they have their own
required handling.

Off by default; opt in via `infer-required true` in the config.
Pull Request #112: Optional: infer required fields from Go types

24 of 28 new or added lines in 1 file covered. (85.71%)

300 existing lines in 2 files now uncovered.

1192 of 2231 relevant lines covered (53.43%)

41.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.36
/docparse/docparse.go


Source Not Available

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