Skip to content

chore: sync PHP client with Apify OpenAPI spec v2-2026-09-02T154542Z - #12

Open
Pijukatel wants to merge 2 commits into
masterfrom
claude/vibrant-ramanujan-2tbv46
Open

chore: sync PHP client with Apify OpenAPI spec v2-2026-09-02T154542Z#12
Pijukatel wants to merge 2 commits into
masterfrom
claude/vibrant-ramanujan-2tbv46

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Syncs the client to the Apify OpenAPI spec v2-2026-09-02T154542Z, driven by apify-docs #2922, #2931, #2932.

  • Added Task::getDescription(), exposing the new Task.description spec field.
  • The remaining spec delta (nullability loosening on generalAccess/ActorDefinition fields, UserPrivateInfo required-field relaxation, task input accepting an array, a docs typo fix) touches no typed getter in this client, so no further code change was needed beyond the version bump.
  • Bumped Version::API_SPEC_VERSION and Version::CLIENT_VERSION (0.6.0), with a CHANGELOG.md entry.
  • Folded two back-to-back update() calls in TaskIntegrationTest::testTaskCrudFlow into one.

The published-tasks limit documented on TaskClient::publish() and in docs/tasks.md remains "fewer than 50", matching the OpenAPI spec at this client's named version; an earlier revision of this PR had incorrectly changed it to 10 based on a separate platform docs page, and that change has been reverted.

- Add Task::getDescription() getter for the new Task.description field.
- Correct the published-tasks limit in TaskClient::publish() and docs/tasks.md
  from 50 to 10, matching the apify-docs publish-task requirements.
@github-actions github-actions Bot added this to the 148th sprint - Tooling team milestone Sep 4, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Sep 4, 2026
- Revert TaskClient::publish()'s docblock and docs/tasks.md from "fewer
  than 10" back to "fewer than 50" published tasks. The published
  OpenAPI spec v2-2026-09-02T154542Z (the version this client names)
  still states 50; a separate platform docs page is not the
  authoritative source for this client.
- Reword Task::getDescription() and its docs/models.md row to drop the
  "public landing page" framing, matching the neutral getTitle() style;
  the field is a plain description with no landing-page-only semantics.
- Fold the two back-to-back update() calls in
  TaskIntegrationTest::testTaskCrudFlow into a single call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants