Skip to content

fix(openapi): Fix codegen artifacts in schemas - #2271

Merged
vdusek merged 3 commits into
masterfrom
fix/openapi-codegen-artifacts
Feb 23, 2026
Merged

fix(openapi): Fix codegen artifacts in schemas#2271
vdusek merged 3 commits into
masterfrom
fix/openapi-codegen-artifacts

Conversation

@vdusek

@vdusek vdusek commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Make finishedAt nullable and optional in RunShort and BuildShort schemas — a running run/build does not have a finishedAt value yet
  • Make finishedAt nullable in ExampleWebhookDispatch schema — a dispatch that hasn't completed yet returns null
  • Remove literal ? from DATA_TRANSFER_EXTERNAL_GBYTES? property name in RunUsage/RunUsageUsd schemas and all run-related example responses (15 files)
  • Change actorSpecification from enum: [1] to const: 1 in ActorDefinition schema to avoid awkward INTEGER_1 enum name in codegen output

🤖 Generated with Claude Code

vdusek and others added 2 commits February 23, 2026 13:52
… BuildShort

A running run/build does not have a `finishedAt` value yet, so the field
must be nullable and non-required, matching the full Run and Build schemas.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…use const for actorSpecification

- Rename `DATA_TRANSFER_EXTERNAL_GBYTES?` to `DATA_TRANSFER_EXTERNAL_GBYTES`
  in RunUsage/RunUsageUsd schemas and all run-related example responses
- Change `actorSpecification` from `enum: [1]` to `const: 1` in
  ActorDefinition schema to avoid awkward `INTEGER_1` codegen enum name

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Feb 23, 2026
@vdusek vdusek self-assigned this Feb 23, 2026
@vdusek
vdusek requested a review from Pijukatel February 23, 2026 14:49
@github-actions github-actions Bot added this to the 135th sprint - Tooling team milestone Feb 23, 2026
@apify-service-account

Copy link
Copy Markdown
Contributor

Preview for this PR was built for commit 82b7963 and is ready at https://pr-2271.preview.docs.apify.com!

The API returns null for finishedAt when a dispatch hasn't completed yet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vdusek vdusek changed the title fix(openapi): remove typo in DATA_TRANSFER_EXTERNAL_GBYTES and fix actorSpecification codegen fix(openapi): Fix codegen artifacts in schemas Feb 23, 2026
@apify-service-account

Copy link
Copy Markdown
Contributor

Preview for this PR was built for commit c4f2e24 and is ready at https://pr-2271.preview.docs.apify.com!

@vdusek
vdusek merged commit c8c10f6 into master Feb 23, 2026
14 checks passed
@vdusek
vdusek deleted the fix/openapi-codegen-artifacts branch February 23, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. claude-code-assisted t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants