Skip to content

fix: path to secretmanager_openapi_v1.json#3943

Merged
zhumin8 merged 1 commit intomainfrom
fix-openapi
Feb 6, 2026
Merged

fix: path to secretmanager_openapi_v1.json#3943
zhumin8 merged 1 commit intomainfrom
fix-openapi

Conversation

@zhumin8
Copy link
Copy Markdown
Contributor

@zhumin8 zhumin8 commented Feb 6, 2026

Fix path in api.go to be OpenAPI: "testdata/secretmanager_openapi_v1.json", and change tests accordingly.

Fix #3936

@zhumin8 zhumin8 requested a review from a team February 6, 2026 19:51
@zhumin8 zhumin8 requested a review from a team as a code owner February 6, 2026 19:51
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly fixes the path to secretmanager_openapi_v1.json across several files. No vulnerabilities were found. There is a suggestion to improve maintainability in a test file by using an existing variable instead of reconstructing the path, aligning with the principle of reusing existing logic for consistency.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.35%. Comparing base (9d04c44) to head (c4c1156).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3943   +/-   ##
=======================================
  Coverage   83.35%   83.35%           
=======================================
  Files          69       69           
  Lines        6188     6188           
=======================================
  Hits         5158     5158           
  Misses        671      671           
  Partials      359      359           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zhumin8 zhumin8 merged commit bcbac48 into main Feb 6, 2026
16 checks passed
@zhumin8 zhumin8 deleted the fix-openapi branch February 6, 2026 20:01
zhumin8 added a commit that referenced this pull request Feb 6, 2026
reuse already defined openAPIFile var in test to reduce duplication. 

Followup to
#3943 (comment)
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.

librarian: cannot generate OpenAPI validation library for Rust

2 participants