Skip to content

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

Open
DaveHanns wants to merge 1 commit into
masterfrom
fix/inputschema-deprecation-issue-820
Open

fix: rename deprecated input/output to inputSchema/outputSchema in actor.json (closes #820)#822
DaveHanns wants to merge 1 commit 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
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

2 participants