api-gateway-openapi-spec-authoring
Writes, migrates, and debugs OpenAPI specs for Google Cloud API Gateway, including converting Swagger 2.0 specs to OpenAPI 3.x and fixing failed API config deployments.
What it does
Writes, migrates, and fixes OpenAPI specs for Google Cloud API Gateway. Use when converting an OpenAPI 2.0 (Swagger) spec to OpenAPI 3.x, writing a new OpenAPI 3.x spec, or fixing a failed "gcloud api-gateway api-configs create", such as "extension is only supported in OpenAPI 2.x". Also use when quotas set with x-google-quota are never enforced, or when a backend receives path parameters as query parameters. Don't use for adding or debugging MCP tools (use api-gateway-mcp-server), backend lockdown or HTTP 429 tuning (use api-gateway-backend-security-and-rate-limiting), Cloud Endpoints, Apigee, or GKE Gateway API.
Quality judgment
The document provides comprehensive coverage of OpenAPI spec authoring for API Gateway, including migration paths, extension mappings, validation loops, and error handling. It is well-organized with clear decision matrices and execution workflows. The only minor deduction is that some references point to external files (references/...) that may not be included in the snippet, but the self-contained examples and detailed instructions more than compensate.