Skip to content

feat: sync Java client with Apify OpenAPI spec v2-2026-10-26T112451Z and model Build.actorDefinition - #25

Open
Pijukatel wants to merge 4 commits into
masterfrom
claude/sharp-clarke-ve5ax3
Open

Pijukatel wants to merge 4 commits into
masterfrom
claude/sharp-clarke-ve5ax3

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Syncs the Java client to OpenAPI spec v2-2026-10-26T112451Z (apify/apify-docs#3092, #3027, #3106, #3095, #3115) and covers reference client change apify/apify-client-js#1171. Client version goes from 0.10.0 to 0.11.0.

  • Spec sync: Version.API_SPEC_VERSION, the client version, the README and pom.xml are updated. #3092, #3106 and #3095 change descriptions and links only, and requestId on the charge request was already supported.
  • Resurrect (#3027): the RunClient.resurrect Javadoc and docs/runs.md list the statuses that can be resurrected (SUCCEEDED, FAILED, ABORTED, TIMED-OUT).
  • Build.actorDefinition (#3115): new Build.getActorDefinition() with ActorDefinition, ActorDefinitionMeta and ActorDefinitionStorages models (title, output, storages.datasets, webServerSchema, webServerMcpPath and others). Memory limit getters return Long, like the other memory fields.
  • Null handling: an explicit JSON null in a raw-JSON field (for example Task.getInput()) now comes back as Java null instead of a NullNode. The fix is in internal/Json.java, so it also applies to raw data payloads.
  • SpotBugs: spotbugs-exclude.xml excludes the new Jackson-filled models from UWF_UNWRITTEN_FIELD and their nested-object getters from EI_EXPOSE_REP, the same way as the existing models.
  • Tests: a unit test covers every ActorDefinition getter and the null cases. The new live integration test storeActorBuildCarriesActorDefinition reads the default build of apify/hello-world.

mvn test (263 tests, live API), spotless:check and the CI command mvn -B -DskipTests compile spotbugs:check pass locally. mvn verify does not run SpotBugs, because the plugin has no execution binding in pom.xml.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ke3CPtJK4Qn5nyv53MiwfH
…ActorDefinition memory limits

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ke3CPtJK4Qn5nyv53MiwfH
@Pijukatel Pijukatel 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 Oct 26, 2026 — with Claude
@apify-service-account apify-service-account added the tested Temporary label used only programatically for some analytics. label Oct 26, 2026
Document and exclude the Jackson-populated ActorDefinitionMeta and
ActorDefinitionStorages (UWF_UNWRITTEN_FIELD) and the nested-value getters
on ActorDefinition and Build (EI_EXPOSE_REP), matching the existing
per-class and per-getter exclusions for ApifyResource-based DTOs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ke3CPtJK4Qn5nyv53MiwfH

This branch has not been deployed

No deployments
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. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants