coreapi: refresh spec — tolerate unknown response fields

main

Commit

stiak3mo ago

Upstream flipped all 54 schemas from additionalProperties: false to true. Regenerating turns the generated decoders from strict (hard-error unexpected field %q) into tolerant (unknown fields captured into an AdditionalProps map), so a new field on any core API model no longer breaks the CLI.

Refreshed via curl ... openapi.json + go generate ./internal/coreapi/....

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 756af473d089

Checkpoints

CLI Resilience for New API Fields

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1