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.

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.

Add MetaService.ListAPIVersions for GET /versions

1 participant