Visitar URL original
docs(api): clarify per-version listings and latest filtering by rdimitrov · Pull Request #1735 · modelcontextprotocol/registry · GitHub
Skip to content

docs(api): clarify per-version listings and latest filtering - #1735

Merged
rdimitrov merged 2 commits into
mainfrom
codex/document-server-list-versions
Oct 25, 2026
Merged

rdimitrov merged 2 commits into
mainfrom
codex/document-server-list-versions

Conversation

@rdimitrov

@rdimitrov rdimitrov commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Callers can mistake the first search result for the current version because the list documentation does not explain that results contain one record per version. Document ascending name/version-string ordering, explain that it is neither semantic-version nor publication-date ordering, and show version=latest for current records only. The clarification appears in the API guide, reference OpenAPI document, and generated documentation for both API versions.

Closes #1676.

Validation:

  • CI build, lint, schema/example validation, govulncheck, and full unit/integration tests passed for aff04c2.
  • Local make validate and go test ./internal/api -run '^TestOpenAPIEndpointCompliance$' -count=1 passed.
  • gofmt and git diff --check passed.
  • Live read-only verification reproduced superseded records without the filter and only isLatest=true with version=latest.

This changes documentation only; query behavior and result ordering are unchanged.

@rdimitrov
rdimitrov merged commit 13f90b2 into main Oct 25, 2026
9 checks passed
@rdimitrov
rdimitrov deleted the codex/document-server-list-versions branch October 25, 2026 18:36
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.

Search returns superseded version records alongside latest ones, oldest first

1 participant