Skip to content

Fix/maintainability issues#51

Open
fredbi wants to merge 37 commits intogo-openapi:masterfrom
fredbi:fix/maintainability-issues
Open

Fix/maintainability issues#51
fredbi wants to merge 37 commits intogo-openapi:masterfrom
fredbi:fix/maintainability-issues

Conversation

@fredbi
Copy link
Member

@fredbi fredbi commented Jan 28, 2026

Change type

Please select: 🆕 New feature or enhancement|🔧 Bug fix'|📃 Documentation update

Short description

Fixes

Full description

Checklist

  • I have signed all my commits with my name and email (see DCO. This does not require a PGP-signed commit
  • I have rebased and squashed my work, so only one commit remains
  • I have added tests to cover my changes.
  • I have properly enriched go doc comments in code.
  • I have properly documented any breaking change.

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

❌ Patch coverage is 85.00635% with 118 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.63%. Comparing base (6ed8e73) to head (f6bc42c).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
codegen/internal/generator/doc_generator.go 0.00% 48 Missing ⚠️
codegen/internal/generator/funcmaps/markdown.go 20.00% 21 Missing and 3 partials ⚠️
codegen/internal/scanner/examples-parser/parser.go 89.52% 10 Missing and 10 partials ⚠️
assert/assert_forward.go 97.64% 8 Missing ⚠️
internal/assertions/file.go 80.00% 3 Missing and 3 partials ⚠️
assert/assert_assertions.go 81.81% 4 Missing ⚠️
assert/assert_format.go 81.81% 4 Missing ⚠️
...odegen/internal/scanner/examples-parser/options.go 50.00% 3 Missing ⚠️
codegen/main.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage   96.97%   91.63%   -5.34%     
==========================================
  Files          53       83      +30     
  Lines        8227    10736    +2509     
==========================================
+ Hits         7978     9838    +1860     
- Misses        164      728     +564     
- Partials       85      170      +85     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fredbi fredbi force-pushed the fix/maintainability-issues branch from 501d0dd to d6bee32 Compare January 28, 2026 23:11
fredbi added 13 commits January 29, 2026 18:47
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
…cted with generics)

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
…ages

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi fredbi force-pushed the fix/maintainability-issues branch from d6bee32 to 77fbfa6 Compare January 29, 2026 17:47
fredbi added 14 commits January 29, 2026 19:10
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
…kage (unused)

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
…or colorization

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
fredbi added 10 commits January 30, 2026 21:56
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant