Skip to content

fix: rename deprecated input/output to inputSchema/outputSchema in actor.json (closes #820)#822

Merged
DaveHanns merged 2 commits into
masterfrom
fix/inputschema-deprecation-issue-820
Jul 16, 2026
Merged

fix: rename deprecated input/output to inputSchema/outputSchema in actor.json (closes #820)#822
DaveHanns merged 2 commits into
masterfrom
fix/inputschema-deprecation-issue-820

Conversation

@DaveHanns

@DaveHanns DaveHanns commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #820.

Template .actor/actor.json files use the deprecated fields input / output instead of the canonical inputSchema / outputSchema. This PR migrates all template actor.json files to the canonical names.

Risk

Backwards-compatibility: if apify-cli or the schema validator still expects input / output as fallback names, users on older CLI versions may encounter validation failures.

…utputSchema` in actor.json

Closes #820.

Running `apify create` currently generates `.actor/actor.json` files that use the deprecated fields `input` / `output` instead of the canonical `inputSchema` / `outputSchema` (per the actor.json spec).

Mechanical rename across all template `actor.json` files. Both inline schema objects and file path references (`./input_schema.json` / `./output_schema.json`) are renamed identically.

Affected: 36 of 43 templates. 7 templates (those with no `input`/`output` keys) are untouched.
@DaveHanns
DaveHanns marked this pull request as ready for review June 29, 2026 12:46
@DaveHanns
DaveHanns requested a review from l2ysho June 29, 2026 12:46
@DaveHanns DaveHanns self-assigned this Jun 29, 2026

@l2ysho l2ysho 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.

🚀

@l2ysho

l2ysho commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

I will update a branch, there are some ci/cd fixes on master which should unblock this PR.

@DaveHanns
DaveHanns merged commit 22cad09 into master Jul 16, 2026
34 checks passed
@DaveHanns
DaveHanns deleted the fix/inputschema-deprecation-issue-820 branch July 16, 2026 16:22
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.

actor.json uses deprecated input/output instead of inputSchema/outputSchema

3 participants