mirror of
https://github.com/kennethreitz/responder.git
synced 2026-07-21 18:39:29 +00:00
ebea83f014
- responder.ext.pagination: generic Page[T] response model (items/total/page/ size/pages) + paginate(items, *, page, size, total=None) (auto-slice, or wrap a pre-sliced page when total= is given). - OpenAPI: parametrized generic models (Page[Item]) are emitted inline via the generic schema path instead of being registered under a bracketed, spec-invalid component name (gated in both the builder and the route decorator via _is_parametrized_generic / _registers_as_named_component). - Docs + tests. Backwards-compatible. 559 tests pass; ruff + mypy clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>