Catalog API — Contract Report

Contract version 1.1.0 · the committed OpenAPI document is the source of truth.

6operations
9schemas
20documented responses
6parameters

Spec drift no drift

No drift: the implementation matches the contract.

Backward compatibility backward compatible

Compared against released contract 1.0.0 — Backward compatible: 11 additive change(s), 0 breaking.

Property-based contract testing

Requests generated from the contract by Schemathesis, responses validated back against it.

Documented surface

MethodPathSummaryResponsesParameters
GET /authors/{author_id} Read an author 200 400 404 422 author_id (path)
GET /books List books 200 400 422 genre (query), limit (query), offset (query)
POST /books Add a book 201 400 422
DELETE /books/{book_id} Remove a book 204 400 404 422 book_id (path)
GET /books/{book_id} Read a book 200 400 404 422 book_id (path)
GET /health Liveness probe 200 400