Skip to content

feat: Add MetaService.ListAPIVersions - #4422

Open
kyungseopk1m wants to merge 1 commit into
google:masterfrom
kyungseopk1m:feat/meta-api-versions
Open

feat: Add MetaService.ListAPIVersions#4422
kyungseopk1m wants to merge 1 commit into
google:masterfrom
kyungseopk1m:feat/meta-api-versions

Conversation

@kyungseopk1m

Copy link
Copy Markdown
Contributor

Fixes #4420

Adds MetaService.ListAPIVersions for GET /versions, operation meta/get-all-versions.

The 200 response schema is an array of string with format: date, so the method returns []string and no new type is introduced. GitignoresService.List has the same signature for the same kind of operation.

Named ListAPIVersions rather than Get... because the repo uses List for operations returning multiple resources, and MetaService holds several unrelated resources so a bare List would be ambiguous.

The operation is already in openapi_operations.yaml, so go generate ./... produces no changes.

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.54%. Comparing base (34349a8) to head (9c7e1bf).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4422   +/-   ##
=======================================
  Coverage   97.54%   97.54%           
=======================================
  Files         194      194           
  Lines       19765    19774    +9     
=======================================
+ Hits        19279    19288    +9     
  Misses        268      268           
  Partials      218      218           

☔ View full report in Codecov by Harness.
📢 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.

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Jul 29, 2026

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @kyungseopk1m!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @alexandear - @Not-Dhananjay-Mishra

@gmlewis gmlewis changed the title feat: Add MetaService.ListAPIVersions feat: Add MetaService.ListAPIVersions Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MetaService.ListAPIVersions for GET /versions

2 participants