Skip to content

chore: sync infra OpenAPI specs#276

Open
e2b-generated-code-auto-fixer[bot] wants to merge 1 commit intomainfrom
chore/sync-infra-specs
Open

chore: sync infra OpenAPI specs#276
e2b-generated-code-auto-fixer[bot] wants to merge 1 commit intomainfrom
chore/sync-infra-specs

Conversation

@e2b-generated-code-auto-fixer
Copy link
Contributor

This PR syncs OpenAPI specs from e2b-dev/infra:

  • spec/openapi.infra.yaml
  • spec/openapi.dashboard-api.yaml

It also regenerates dependent TypeScript API types and applies formatting/lint autofixes.


This PR was automatically created by the sync-infra-specs workflow.

@vercel
Copy link

vercel bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment Mar 21, 2026 3:30pm
web-juliett Ready Ready Preview, Comment Mar 21, 2026 3:30pm

Request Review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4d49e9e846

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +521 to +525
id:
type: string
aliases:
type: array
items:

Choose a reason for hiding this comment

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

P2 Badge Align /templates/defaults with the existing template DTO

If /templates/defaults is meant to back the current templates page, this schema is not compatible with the payload the dashboard already consumes. src/server/api/routers/templates.ts returns default templates in the same shape as Template (templateID, buildID, names, updatedAt, createdBy, etc.), and src/features/dashboard/templates/list/table.tsx/table-config.tsx merge those objects directly with regular templates and read those fields. The contract here renames core fields (id, buildId, ramMb) and changes aliases to objects while omitting names, updatedAt, and createdBy, so a generated client for this endpoint cannot drive the existing default-template flow without an extra translation layer.

Useful? React with 👍 / 👎.

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