Skip to content

ci(dependencies): automate dependencies updates#289

Merged
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:chore/ci-automate-updates
Jan 31, 2024
Merged

ci(dependencies): automate dependencies updates#289
fredbi merged 1 commit into
go-openapi:masterfrom
fredbi:chore/ci-automate-updates

Conversation

@fredbi
Copy link
Copy Markdown
Member

@fredbi fredbi commented Jan 31, 2024

No description provided.

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

codecov Bot commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (50a16d3) 81.67% compared to head (56cf478) 81.67%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #289   +/-   ##
=======================================
  Coverage   81.67%   81.67%           
=======================================
  Files          49       49           
  Lines        4066     4066           
=======================================
  Hits         3321     3321           
  Misses        632      632           
  Partials      113      113           
Flag Coverage Δ
1.19 81.67% <ø> (ø)
oldstable 81.67% <ø> (ø)
stable 81.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@fredbi fredbi requested review from casualjim and youyuanwu January 31, 2024 13:04
@fredbi fredbi merged commit 9917082 into go-openapi:master Jan 31, 2024
@fredbi fredbi deleted the chore/ci-automate-updates branch January 31, 2024 13:04
fredbi added a commit that referenced this pull request May 11, 2026
The reinstateSlash logic in resolveURLPath (introduced in 6cdcb95 to
fix #289) deliberately excluded pathPattern == "/" to avoid producing
"//" when basePath was empty or "/". That left one combination
inconsistent with every other trailing-slash case: basePath=/myservice
with pathPattern=/ produced /myservice instead of /myservice/.

Replace the pattern-shape carve-out with a HasSuffix check on the
already-built urlPath, which is idempotent and keeps the double-slash
cases unchanged.

Closes #101

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.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