Skip to content

Fix/code quality2 - #144

Merged
fredbi merged 15 commits into
go-openapi:masterfrom
fredbi:fix/code-quality2
Aug 13, 2026
Merged

Fix/code quality2#144
fredbi merged 15 commits into
go-openapi:masterfrom
fredbi:fix/code-quality2

Conversation

@fredbi

@fredbi fredbi commented Aug 13, 2026

Copy link
Copy Markdown
Member

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.

fredbi added 13 commits August 13, 2026 18:09
… iface is not a pointer

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>
It remains possible to bypass this limit by setting explicitly MaxDepth to 0.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
regenerated, with no impact but updated links from previous commits.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
…!=len(expected)

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
…2 offending values

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
This commit changes the criterion used on time.Time.Compare
to remain consistent with other value sorting rules:
all rules use "<" but time-base comparison used to be "=<".

All comparisons are now consistent.

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

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.21053% with 9 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@df17975). Learn more about missing BASE report.
⚠️ Report is 16 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
internal/assertions/file.go 60.00% 2 Missing and 2 partials ⚠️
codegen/internal/model/model.go 0.00% 2 Missing ⚠️
internal/assertions/error.go 66.66% 1 Missing and 1 partial ⚠️
codegen/internal/scanner/comments/extractor.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #144   +/-   ##
=========================================
  Coverage          ?   91.48%           
=========================================
  Files             ?      103           
  Lines             ?    12875           
  Branches          ?        0           
=========================================
  Hits              ?    11779           
  Misses            ?      849           
  Partials          ?      247           

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

fredbi added 2 commits August 13, 2026 19:46
The linter got it _backward_! We actually do need the index.

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi
fredbi merged commit 5e72bee into go-openapi:master Aug 13, 2026
22 checks passed
@fredbi
fredbi deleted the fix/code-quality2 branch August 13, 2026 17:53
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