Skip to content

Regenerate the client from the updated specification (1.0.0) - #4

Merged
svdigital-development merged 2 commits into
mainfrom
claude/ver1.0
Oct 16, 2026
Merged

svdigital-development merged 2 commits into
mainfrom
claude/ver1.0

Conversation

@svdigital-development

@svdigital-development svdigital-development commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Client regenerated from the updated spec/openapi.yaml (openapi-python-client 0.29.1, no warnings; bin/generate is idempotent).
  • Breaking changes from the specification: renamed paths and path parameters (credit_note_id, cron_job_id, microsoft_365_subscription_id, top_up_id), path parameters moved to the query, removed operations (pay_orders, power actions, Secure Mail, reemit) and renamed models (License*, DomainDetailResponse, HostingEmailBlockList*…). Full list in CHANGELOG.md.
  • unwrap() returns None for 204 No Content: the spec now documents 204 for 26 operations, which would otherwise raise UnexpectedStatus on success.
  • Tests and README updated (create_prepaid_credit_payment replaces pay_orders, new paths in the CLI examples, per_page default 20).
  • openapi-python-client.yaml unchanged: the content_type_overrides are still needed (without them the PDF downloads are skipped).
  • Classifier Development Status :: 5 - Production/Stable.
  • Second spec update: the meta that is always null is const: null, so the 120 empty *ResponseMetaType0 models are gone.
  • CI: the matrix runs only the unit tests (blocking); the integration tests run once on Python 3.14 in Integration tests (not blocking), because the API may block some Azure IP addresses of the runners. A failure leaves the workflow green with a warning in the run summary.

Verification

  • ruff format, ruff check, mypy (strict), pytest tests/unit: 132 passed; tests/integration skipped locally without credentials.
  • Same checks with uv sync --resolution lowest-direct.

Release

After the merge, create the tag v1.0.0 on main to publish 1.0.0.

🤖 Generated with Claude Code

Tobia Zanarella and others added 2 commits October 7, 2026 22:16
The specification renames paths, path parameters and models and documents
204 No Content responses: unwrap() returns None for them instead of raising
UnexpectedStatus. Tests and README follow the new operations
(create_prepaid_credit_payment replaces pay_orders).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… job

The specification declares the meta that is always null as const null: the
*ResponseMetaType0 models are gone and those fields are Any.

The API may block some IP addresses of the GitHub runners for their
reputation: the integration tests run once, in a job whose failure leaves the
workflow green with a warning. The matrix runs only the unit tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@svdigital-development
svdigital-development merged commit ed87d6a into main Oct 16, 2026
14 checks passed
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.

1 participant