feat: sync Go client with Apify OpenAPI spec v2-2026-09-02T154542Z - #24
Merged
Conversation
Adds the new Task.Description field (title/description are now both required to publish a task, per the spec and reference JS client). The other spec changes in this window (nullable generalAccess and ActorDefinition fields, task input accepting an array, relaxed UserPrivateInfo required set, DailyServiceUsages.date format) need no code change: none of those fields are explicitly modeled by this client, or the affected values already round-trip untyped.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs the Go client with the Apify OpenAPI spec
v2-2026-09-02T154542Z(apify-docs PRs #2931, #2932, #2922).Changes
models.go— addTask.Descriptionfield (consistent withTask.Title), per spec PR #2922.version.go—APISpecVersion→v2-2026-09-02T154542Z,ClientVersion→0.9.0(additive, minor).docs/tasks.md— document the new field.tests/task_test.go— senddescriptionintaskDef; assert round-trip inTestGetTaskandTestTaskCRUDFlow.README.md,CHANGELOG.md— synced.The remaining spec deltas (nullable
generalAccess, nullableActorDefinition.readme/input/changelog, relaxedUserPrivateInforequired set,DailyServiceUsages.dateformat, taskinputaccepting an array) require no code changes: those fields are unmodeled and captured by the genericExtrabag or already round-trip as untyped JSON.Verification
gofmt,go vet,go build,golangci-lint(0 issues) clean. Full offline unit suite and the live integration suite (includingTest examples/doc snippets) pass againstAPIFY_TOKEN.Generated by Claude Code