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

go-fuego / fuego / 22634967246
75%

Build:
DEFAULT BRANCH: main
Ran 03 Mar 2026 05:30PM UTC
Jobs 1
Files 43
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

03 Mar 2026 05:28PM UTC coverage: 77.729% (-0.3%) from 77.992%
22634967246

push

github

dylanhitt
fix: sanitize all invalid characters in transformTypeName schema names

The previous fix (PR #696) handled []T slice type parameters but left
*T (pointer), map[K]V, and nested generics producing invalid OpenAPI 3
schema identifiers. For example:

  Response[*model.User]             -> Response_*model.User        (invalid)
  Response[map[string]model.User]   -> Response_map[string]model.User (invalid)
  Outer[Inner[model.User]]          -> Outer_Inner[model.User]     (invalid)

Replace the single []->Array- substitution with a general sanitizer
that handles all Go type syntax characters: [] -> Array-, [ -> -, ] -> -,
* -> (removed). Also replace the manual package path stripping with a
regex that correctly handles import paths appearing after type modifiers.

Add petstore example endpoint with nested generics to exercise the
nested case in the golden spec CI check.

Fixes remaining cases from #560.

11 of 25 new or added lines in 2 files covered. (44.0%)

3033 of 3902 relevant lines covered (77.73%)

0.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
72.05
-6.27% examples/petstore/controllers/pets.go
Jobs
ID Job ID Ran Files Coverage
1 22634967246.1 03 Mar 2026 05:30PM UTC 43
77.73
GitHub Action Run
Source Files on build 22634967246
  • Tree
  • List 43
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 613a5f9d on github
  • Prev Build on main (#22631884052)
  • Next Build on main (#22714529927)
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