Skip to content

Document template endpoints#294

Merged
etbyrd merged 2 commits into
mainfrom
template-openapi
Jul 4, 2026
Merged

Document template endpoints#294
etbyrd merged 2 commits into
mainfrom
template-openapi

Conversation

@etbyrd

@etbyrd etbyrd commented Jul 4, 2026

Copy link
Copy Markdown
Member

Adds the Function template registry and install endpoints to the public OpenAPI source and regenerates the Node, Python, and Go clients plus CLI operation metadata.

Validation:

  • COREPACK_ENABLE_AUTO_PIN=0 make node-check
  • COREPACK_ENABLE_AUTO_PIN=0 make cli-check
  • COREPACK_ENABLE_AUTO_PIN=0 make python-check
  • COREPACK_ENABLE_AUTO_PIN=0 make go-check
  • COREPACK_ENABLE_AUTO_PIN=0 make shared-check
  • COREPACK_ENABLE_AUTO_PIN=0 make cli-build
  • Built CLI help smoke for templates list-templates, templates get-template, templates install-template, and templates get-template-install

@greptile-apps

greptile-apps Bot commented Jul 4, 2026

Copy link
Copy Markdown

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
openapi/primitive-api.yaml Adds the template endpoints and schemas, including required success payloads and the corrected install UUID pattern.
packages/api-core/src/api/types.gen.ts Regenerates TypeScript API types for the template operations and response models.
packages/api-core/src/openapi/operations.generated.ts Regenerates CLI operation metadata for the template commands.
cli-node/tests/oclif/templates.test.ts Adds command smoke coverage for list, get, install, and install-status template flows.
sdk-python/src/primitive/api/models/list_templates_response_200.py Adds the generated Python model for template list responses.
sdk-python/src/primitive/api/models/get_template_response_200.py Adds the generated Python model for template detail responses.
sdk-python/src/primitive/api/models/install_template_response_201.py Adds the generated Python model for template install responses.
sdk-go/api/oas_schemas_gen.go Regenerates Go schemas for the template response and status types.

Reviews (2): Last reviewed commit: "Tighten template API contracts" | Re-trigger Greptile

Comment thread openapi/primitive-api.yaml
Comment thread openapi/primitive-api.yaml
Comment thread openapi/primitive-api.yaml
Comment thread openapi/primitive-api.yaml
Comment thread openapi/primitive-api.yaml Outdated
@etbyrd etbyrd added this pull request to the merge queue Jul 4, 2026
Merged via the queue into main with commit 4ee486c Jul 4, 2026
17 checks passed
@etbyrd etbyrd deleted the template-openapi branch July 4, 2026 05:59
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.

1 participant