Skip to content

Version 0.9.1: the spec at API 1.20.11 - #17

Merged
bensynapse merged 1 commit into
mainfrom
api-1.20.11
Nov 15, 2026
Merged

bensynapse merged 1 commit into
mainfrom
api-1.20.11

Conversation

@bensynapse

Copy link
Copy Markdown
Contributor

The client follows API 1.20.11, released on 2026-11-15. The saved spec was merged from the public document of faxforagents/openapi#16, which is not merged yet.

What a caller can notice

The description of TopupSession.checkout_status says it is also None for a top-up that is not open. The docstring of billing.get_topup_session has said so since 0.9.0. No method, model, field or default changed, so the version is 0.9.1.

How the spec was refreshed

The public document at 1.20.10 was the base of a three-way merge with the saved spec, done on the parsed documents. Its 3 changes applied with no conflict: info.version, the 409 of replay_webhook_delivery and the description of TopupSession.checkout_status. Every local declaration and earlier schema is kept. The result was written in the style of scripts/curate.py, which reproduces the old file byte for byte.

python scripts/gen_models.py wrote the models. Two lines moved: the API version in the header and that one description.

The new 409 of replay_webhook_delivery names details.reason webhook_deleted. webhooks.replay_delivery documents that since 0.9.0, so no docstring changed.

Checked

  • pytest -q -m "not live": 183 pass. The live test was not run, since it needs a test key.
  • ruff check, ruff format --check, mypy src.
  • python scripts/gen_models.py --check and sh scripts/truthcheck.sh.
  • uv build, twine check --strict, and the wheel installed in a clean venv: faxforagents version prints 0.9.1.

No workflow file changed. Nothing is published by this pull request.

The saved spec follows the public document at API 1.20.11.
It was merged three ways on the parsed documents, with the public document at 1.20.10 as the base.
All three changes applied with no conflict, and every local declaration is kept.
replay_webhook_delivery has its own 409, which names details.reason webhook_deleted.
TopupSession.checkout_status says it is also null for a top-up that is not open.
The regenerated models carry that description. Nothing is added or removed.
@bensynapse
bensynapse merged commit e7d738d into main Nov 15, 2026
12 checks passed
@bensynapse
bensynapse deleted the api-1.20.11 branch November 15, 2026 23:49
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