Commit Graph
23 Commits
Author SHA1 Message Date
Sebastián Ramírez 75f3a14935 🐛 Fix AliasChoices extraction for form models (#16557) 2026-10-20 22:19:33 +00:00
Sebastián Ramírez f5a439d59b 🐛 Preserve Pydantic field metadata in inferred request parameters (#16553) 2026-10-20 22:01:01 +02:00
Sebastián Ramírez 0a8c3fae54 🐛 Preserve Pydantic field metadata when request options are omitted (#16549) 2026-10-20 20:12:10 +02:00
Sebastián Ramírez f8cba1038d 🐛 Preserve Pydantic Field() attributes in request parameters (#16547) 2026-10-20 19:19:31 +02:00
Sebastián Ramírez 597b5a7c82 ✨ Add Pydantic validation options to request parameters (#16542) 2026-10-20 17:29:14 +02:00
Sebastián Ramírez fef9257394 🐛 Apply browser form handling to unions of Pydantic models (#16540) 2026-10-20 15:34:52 +02:00
Sebastián Ramírez 5ef18bfe8e 🐛 Fix header model validation errors to report HTTP header names (#16538) 2026-10-20 13:50:40 +02:00
Sebastián Ramírez b3e04195ab 🐛 Distinguish JSON null from omitted body values (#16536) 2026-10-20 09:58:32 +02:00
Sebastián Ramírez 0890e2a329 🐛 Treat unselected browser file inputs as missing (#16534) 2026-10-20 00:27:28 +02:00
Sebastián Ramírez f214cd3462 🐛 Treat empty scalar values as missing in form models (#16529) 2026-10-19 19:10:12 +02:00
Sebastián Ramírez 32240026ad 🐛 Fix default handling for request parameters and models (#16527) 2026-10-19 14:14:40 +02:00
Sebastián Ramírez 19c0b7a5b0 🐛 Treat omitted boolean form fields as False (#16523) 2026-10-19 11:36:46 +02:00
6a5069998a ✅ Add tests for parameter defaults, nullability, and browser form behavior (#14829)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2026-10-19 09:42:19 +02:00
Sebastián Ramírez e8b98d2187 🐛 Fix JSON Schema for files, use contentMediaType instead of format: binary (#14953) 2026-02-21 14:01:31 +01:00
faee822574 🎨 Upgrade typing syntax for Python 3.10 (#14932)
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tiangolo <1326112+tiangolo@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-17 09:59:14 +00:00
Motov Yurii 227cb85a03 ✅ Fix parameterized tests with snapshots (#14875) 2026-02-09 16:35:43 +01:00
Sebastián Ramírez 9f4ecf562c ✅ Add inline snapshot tests for OpenAPI before changes from Pydantic v2 (#14864) 2026-02-08 10:18:38 +00:00
Sebastián Ramírez 1b42639296 🔥 Remove test variants for Pydantic v1 in test_request_params (#14612) 2025-12-27 19:31:34 +01:00
Sebastián Ramírez 44c849c4fc 🔥 Remove Pydantic v1 specific test variants (#14611) 2025-12-27 19:19:10 +01:00
Sebastián Ramírezandgithub-actions[bot] e2cd8a4201 ➖ Drop support for Pydantic v1, keeping short temporary support for Pydantic v2's pydantic.v1 (#14575)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-20 16:55:38 +01:00
Sebastián Ramírez 1c4fc96c91 ♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564) 2025-12-17 21:25:59 +00:00
Motov YuriiandSebastián Ramírez d86c47477e 🐛 Fix parameter aliases (#14371)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-12-12 15:56:57 +01:00
Motov YuriiandSebastián Ramírez 6c54bcefd3 ✅ Add set of tests for request parameters and alias (#14358)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2025-12-11 17:15:36 +01:00