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

go-fuego / fuego / 22634967246 / 1
76%
main: 76%

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

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

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.

3033 of 3902 relevant lines covered (77.73%)

0.88 hits per line

Source Files on job 22634967246.1
  • Tree
  • List 43
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22634967246
  • 613a5f9d on github
  • Prev Job for on main (#22631884052.1)
  • Next Job for on main (#22714529927.1)
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