Commit Graph

2 Commits

Author SHA1 Message Date
JSCU-CNI a67f8cf074 Test and resolve support for `Header(convert_underscores=False)` 2025-10-28 14:09:18 +01:00
JSCU-CNI f5af2913a0 Support for mixed and multiple Pydantic models for parameters using Query, Cookie and Header
From #12199 onwards, Pydantic models are supported for query, cookie and
header parameters. When one parameter is present, the model is flattened
in the OpenAPI spec, but when multiple are defined, they aren't.

This is confusing, and results in a confusing OpenAPI spec. Since these
arguments are used in flattened form anyway, it makes more sense to
flatten all of them.
2025-10-28 14:06:55 +01:00