Skip to content

test: add live contract tests to detect upstream API schema changes#165

Open
fabieu wants to merge 3 commits into
mainfrom
claude/api-endpoint-validation-a0lb74
Open

test: add live contract tests to detect upstream API schema changes#165
fabieu wants to merge 3 commits into
mainfrom
claude/api-endpoint-validation-a0lb74

Conversation

@fabieu

@fabieu fabieu commented Jun 14, 2026

Copy link
Copy Markdown
Owner

For every read-only Sure Petcare endpoint, validate the response against
the Pydantic model and diff its raw JSON shape against a committed
snapshot, so added/removed/renamed fields are caught even when Pydantic
would silently ignore them. Runs daily via a new scheduled workflow.

https://claude.ai/code/session_01Fr6NJxNQSrrpYwYyykDMUS

claude added 3 commits June 14, 2026 06:41
For every read-only Sure Petcare endpoint, validate the response against
the Pydantic model and diff its raw JSON shape against a committed
snapshot, so added/removed/renamed fields are caught even when Pydantic
would silently ignore them. Runs daily via a new scheduled workflow.

https://claude.ai/code/session_01Fr6NJxNQSrrpYwYyykDMUS
Replaces the python:3.14-alpine/slim containers in build, docs, and
contract-tests workflows with actions/setup-python@v6 (Python 3.14).

https://claude.ai/code/session_01Fr6NJxNQSrrpYwYyykDMUS
Mirrors the existing vars.POETRY_VERSION pattern so the Python version
used by setup-python across all workflows is configured in one place.

https://claude.ai/code/session_01Fr6NJxNQSrrpYwYyykDMUS
@fabieu fabieu self-assigned this Jun 14, 2026
@fabieu fabieu added the enhancement New feature or request label Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants