Skip to content

chore: doc, tests, lint#255

Merged
fredbi merged 1 commit intogo-openapi:masterfrom
fredbi:chore/lint-test-doc
Mar 3, 2026
Merged

chore: doc, tests, lint#255
fredbi merged 1 commit intogo-openapi:masterfrom
fredbi:chore/lint-test-doc

Conversation

@fredbi
Copy link
Member

@fredbi fredbi commented Mar 2, 2026

  • documentation update to meet go-openapi standards

  • fixed discord link

  • relinted godoc and markdown

  • relinted the codebase (many nolint directives are set, the design can't be changed easily)

  • simplified test assertions for JSON & YAML (replaced ad'hoc helpers by testify/v2 features)

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 Mar 2, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.12%. Comparing base (3b2ff60) to head (6dee517).
⚠️ Report is 9 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
parameter.go 0.00% 9 Missing ⚠️
schema.go 40.00% 6 Missing ⚠️
properties.go 0.00% 0 Missing and 1 partial ⚠️
schema_loader.go 88.88% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #255      +/-   ##
==========================================
- Coverage   67.22%   67.12%   -0.10%     
==========================================
  Files          30       30              
  Lines        2407     2412       +5     
==========================================
+ Hits         1618     1619       +1     
- Misses        621      625       +4     
  Partials      168      168              

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

* documentation update to meet go-openapi standards
* fixed discord link
* relinted godoc and markdown

* relinted the codebase (many nolint directives are set, the design
  can't be changed easily)
* simplified test assertions for JSON & YAML (replaced ad'hoc helpers by
  testify/v2 features)
* test: worked around windows-specific data race issue in tests (used
  embed fs to avoid windows FS issues)

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
@fredbi fredbi force-pushed the chore/lint-test-doc branch from 369ca8f to 6dee517 Compare March 3, 2026 00:22
@fredbi fredbi enabled auto-merge (squash) March 3, 2026 00:28
@fredbi fredbi disabled auto-merge March 3, 2026 00:30
@fredbi fredbi merged commit d6177ef into go-openapi:master Mar 3, 2026
19 checks passed
@fredbi fredbi deleted the chore/lint-test-doc branch March 3, 2026 00:30
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