Skip to content

docs(openapi): update openapi schema with missing information#411

Open
runleveldev wants to merge 3 commits into
mainfrom
fix-openapi
Open

docs(openapi): update openapi schema with missing information#411
runleveldev wants to merge 3 commits into
mainfrom
fix-openapi

Conversation

@runleveldev

@runleveldev runleveldev commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Used AI to make the OpenAPI schema actually match what the API server uses.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the create-a-container OpenAPI v1 document to capture missing API behavior and schema details, improving accuracy for client generation and consumer understanding.

Changes:

  • Expanded top-level API documentation (common error codes) and bumped API version to 1.1.0.
  • Added/extended schemas and response components (e.g., NotFound/Forbidden/BadRequest, richer Container, NodeInput, User, ResourceRequest).
  • Documented additional endpoints and enriched many existing operations with request/response bodies (including OpenAPI self-serve endpoints and resource request flows).

Comment thread create-a-container/openapi.v1.yaml Outdated
Comment thread create-a-container/openapi.v1.yaml Outdated
Comment thread create-a-container/openapi.v1.yaml Outdated
Comment thread create-a-container/openapi.v1.yaml Outdated
runleveldev and others added 3 commits July 24, 2026 16:19
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
The MCP server (manager-control-program, built on awslabs
openapi-mcp-server / fastmcp) names each generated tool after the
operation's operationId. Without one it falls back to munging the
summary or METHOD+path and truncating at 56 chars, producing names
like GET_sitessiteIdcontainersid and
Usernamepassword_login_disabled_when_OIDC_SSO_is_enabled.

Give all 70 operations a unique snake_case verb_noun operationId
(list_sites, create_container, agent_check_in, ...).
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.

2 participants