Skip to content

Conversation

@vbotbuildovich
Copy link
Contributor

This PR updates the OpenAPI spec file for the Cloud API.
Triggered by commit: 2d90f5d72772403e5181f38f19a21f23fa637d65

@coderabbitai
Copy link

coderabbitai bot commented Dec 19, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The pull request updates OpenAPI specification files with documentation and terminology refinements. In cloud-controlplane.yaml, a single textual correction is made to an endpoint description. In cloud-dataplane.yaml, multiple description fields across MCP-related schemas and endpoints are updated for clarity and consistency, the API tag naming is standardized from "Redpanda Connect MCP servers" to "Remote MCP", a new read-only url field is introduced to the MCPServer schema, and field descriptions are enhanced to better explain tool configuration semantics. No functional or control-flow changes are introduced.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify the MCPServer.url field addition does not break existing API compatibility or client expectations
  • Confirm terminology changes ("MCP servers" vs "MCP Server", "Remote MCP" naming) are applied consistently throughout both files
  • Check that the typo correction in cloud-controlplane.yaml ("peering" vs "pering") is accurate and intentional

Possibly related PRs

Suggested reviewers

  • kbatuigas
  • JakeSCahill

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'auto-docs: Update Cloud API spec' clearly and concisely describes the main change—updating the OpenAPI specification files for the Cloud API.
Description check ✅ Passed The description directly explains that the PR updates the OpenAPI spec file for the Cloud API and references the triggering commit, which is relevant to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

ℹ️ Redpanda/schema-registry API content change detected

Preview documentation

No structural change, nothing to display.

Powered by Bump.sh

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

ℹ️ Redpanda/http-proxy API content change detected

Preview documentation

No structural change, nothing to display.

Powered by Bump.sh

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

ℹ️ Redpanda/admin (branch: v1) API content change detected

Preview documentation

No structural change, nothing to display.

Powered by Bump.sh

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

ℹ️ Redpanda/admin (branch: v2) API content change detected

Preview documentation

No structural change, nothing to display.

Powered by Bump.sh

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

ℹ️ Redpanda/cloud-controlplane API content change detected

Preview documentation

No structural change, nothing to display.

Powered by Bump.sh

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

ℹ️ Redpanda/cloud-dataplane API content change detected

Preview documentation

No structural change, nothing to display.

Powered by Bump.sh

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (2)
cloud-dataplane/cloud-dataplane.yaml (2)

5582-5978: Remote MCP endpoints are well‑documented; one minor grammar tweak suggested

The MCP server endpoints under /v1/redpanda-connect/mcp-servers now:

  • Use clearer list/create/update/delete/start/stop descriptions.
  • Expose filter, tag, and secret‑ID semantics that match the request/response schemas.
  • Consistently tag operations with Remote MCP, matching the new tag entry.

Functionally and structurally this all looks correct.

One very small wording nit in the lint endpoint summary:

  • Summary currently says Lint a MCP tools configuration, but since “MCP” is pronounced “em‑see‑pee”, the article should be “an”.

This is purely grammatical and optional, but keeps docs polished.

Proposed grammar fix for lint summary
-      summary: Lint a MCP tools configuration
+      summary: Lint an MCP tools configuration

Based on learnings, this YAML is generated from upstream proto; if you want this tweak, it should be applied in the cloudv2 proto comments rather than hand‑editing here.


7827-7853: Deploy transform summary casing is slightly inconsistent with neighboring summaries

The summary was changed to Deploy Transform while nearby Wasm transform summaries use sentence case (List transforms, Delete transform, Get transform). For consistency with the rest of this tag group, you may want to keep it sentence‑cased as well.

Optional style alignment
-      summary: Deploy Transform
+      summary: Deploy transform
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Jira integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between b05c46b and b6d2ee7.

📒 Files selected for processing (2)
  • cloud-controlplane/cloud-controlplane.yaml (1 hunks)
  • cloud-dataplane/cloud-dataplane.yaml (25 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: kbatuigas
Repo: redpanda-data/api-docs PR: 40
File: cloud-controlplane/cloud-controlplane.yaml:1733-1738
Timestamp: 2025-11-26T19:18:28.591Z
Learning: For the redpanda-data/api-docs repository, the OpenAPI specification files in cloud-controlplane/ and cloud-dataplane/ are auto-generated from proto source files. Changes to these specs should be made in the upstream proto sources rather than directly editing the generated OpenAPI YAML files.
Learnt from: kbatuigas
Repo: redpanda-data/api-docs PR: 40
File: cloud-controlplane/cloud-controlplane.yaml:1733-1738
Timestamp: 2025-11-26T19:18:28.591Z
Learning: In the redpanda-data/api-docs repository's reference documentation, response schema titles do not display, but descriptions do. When reviewing proto sources that generate OpenAPI specs, suggest using description fields instead of title fields for content that should be visible in the documentation.
📚 Learning: 2025-11-26T19:18:28.591Z
Learnt from: kbatuigas
Repo: redpanda-data/api-docs PR: 40
File: cloud-controlplane/cloud-controlplane.yaml:1733-1738
Timestamp: 2025-11-26T19:18:28.591Z
Learning: For the redpanda-data/api-docs repository, the OpenAPI specification files in cloud-controlplane/ and cloud-dataplane/ are auto-generated from proto source files. Changes to these specs should be made in the upstream proto sources rather than directly editing the generated OpenAPI YAML files.

Applied to files:

  • cloud-controlplane/cloud-controlplane.yaml
  • cloud-dataplane/cloud-dataplane.yaml
🔇 Additional comments (4)
cloud-dataplane/cloud-dataplane.yaml (4)

494-500: MCP config schema and linting descriptions are aligned with types

The new descriptions for ConfigurationYAMLSchema.config_schema, GetMCPServerServiceConfigSchemaResponse.configuration_yamls, and the MCP linting request/response (LintMCPConfigRequest.tools, LintMCPConfigResponse.lint_hints) correctly describe the map-of-tools shape and how YAML config and linting hints are keyed by tool name. They also match the Tool schema’s YAML focus, so the semantics read clearly and consistently.

Also applies to: 1224-1230, 1483-1499


1638-1660: MCP server list filtering docs are precise and consistent

The filter descriptions on ListMCPServersRequest.Filter (display_name_contains, secret_id, tags[string]) now clearly explain substring vs exact-match semantics and the “must match all key-value pairs” behavior, and ListMCPServersResponse.next_page_token mirrors pagination wording used elsewhere.


1942-2068: MCPServer schema and create/update payload docs look coherent

The updated descriptions for MCPServer.id, tags, tools, and Status.error, plus the clarified wording in MCPServerCreate and MCPServerUpdate, make the MCP server API surface much easier to understand. The new read‑only url field is consistent with similar url usage on Pipeline, and it’s correctly omitted from the required list.

All of this reads well and aligns with the surrounding resource model.


8251-8252: New Remote MCP tag matches endpoint usage

The added tag (name: Remote MCP, description about creating/managing MCP servers and configs) lines up with all updated MCP server operations and helps separate this surface from the existing Redpanda Connect Pipelines tag.

/v1/network/{network_peering.network_id}/network-peerings:
post:
description: Create a Redpanda network peering.
description: Create a Redpanda network pering.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix typo in CreateNetworkPeering description in upstream proto

The description currently reads "Create a Redpanda network pering.""pering" should be "peering". Because this OpenAPI spec is auto-generated, this needs to be corrected in the upstream proto definition rather than edited directly here. Based on learnings, specs in cloud-controlplane/ are generated from proto sources and should not be hand-edited.

🤖 Prompt for AI Agents
In cloud-controlplane/cloud-controlplane.yaml around line 5282, the OpenAPI
description for CreateNetworkPeering contains a typo ("pering" → "peering");
because this file is generated from proto sources, do not edit it directly.
Locate the corresponding proto RPC or message comment in the upstream proto
definition (search for "CreateNetworkPeering" or the description text), correct
the typo in the proto comment/option to "Create a Redpanda network peering.",
then regenerate the OpenAPI spec (run the proto->OpenAPI generation command used
by this repo) so the corrected description is emitted into
cloud-controlplane.yaml.

@kbatuigas kbatuigas merged commit a57267a into main Dec 21, 2025
8 checks passed
@kbatuigas kbatuigas deleted the update-branch-api branch December 21, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants