Files
responder/docs/source
kennethreitz a151b55637 v5.3: Annotated markers, generic response_model, OpenAPI authoring
- Annotated[] marker form: q: Annotated[int, Query(ge=1)] (PEP 593) in
  addition to q: int = Query(...); detected locally in marker_params, so no
  change to other hint consumers.
- Generic response_model: list[Model]/tuple/union validated+serialized via
  TypeAdapter and documented as array items/oneOf with hoisted component refs;
  explicit-only (return-annotation generics stay no-ops). Fixes the bogus
  "list" schema. api.py no longer auto-registers a name for generic models.
- Route/operation metadata: tags/summary/description/operation_id/deprecated
  on @api.route + verb decorators (docstring YAML still overrides).
- API(openapi_servers=[...]) populates the OpenAPI servers list.
- Docs updated; the outdated "constraints are inert" / "single model only"
  notes corrected.

Backwards-compatible. 502 tests pass; ruff + mypy clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-28 20:17:38 -04:00
..