30 Commits (bb6dbdb6cd4b97ecea3e3590febc03cc516e891a)

Author SHA1 Message Date
Sebastián Ramírez 22354a2530
🔒️ Add `strict_content_type` checking for JSON requests (#14978) 3 months ago
Sebastián Ramírez c9e2277d8b
📝 Update source examples and docs from Python 3.9 to 3.10 (#14900) 4 months ago
Sebastián Ramírez 9f4ecf562c
Add inline snapshot tests for OpenAPI before changes from Pydantic v2 (#14864) 4 months ago
Jonathan Fulton 75c47187f3
🐛 Update `ValidationError` schema to include `input` and `ctx` (#14791) 4 months ago
Sebastián Ramírez 44c849c4fc
🔥 Remove Pydantic v1 specific test variants (#14611) 5 months ago
Motov Yurii 3063ada72f
Add missing tests for code examples (#14569) 5 months ago
Sebastián Ramírez ed97d9dc0c
⚰️ Remove Python 3.8 from CI and remove Python 3.8 examples from source docs (#14559) 6 months ago
Alejandra 0cc031f477
Simplify tests for body (#13168) 1 year ago
Sebastián Ramírez 27da0d02a7
Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 3 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 3 years ago
Sebastián Ramírez 50c1a928fb
Refactor OpenAPI tests, prepare for Pydantic v2 (#9503) 3 years ago
Paweł Rubin fdbd48be5f
⬆ Upgrade Starlette to `0.21.0`, including the new [`TestClient` based on HTTPX](https://github.com/encode/starlette/releases/tag/0.21.0) (#5471) 4 years ago
Sebastián Ramírez ddd9da3db4
Fix new/recent tests with new fixed `ValidationError` JSON Schema (#4806) 4 years ago
dconathan c449ae5c74
🐛 Fix JSON Schema for `ValidationError` at field `loc` (#3810) 4 years ago
Sebastián Ramírez d08a062ee2
Add docs and tests for Python 3.9 and Python 3.10 (#3712) 4 years ago
Sebastián Ramírez edf6b2d61f
♻ Assume request bodies contain JSON when no Content-Type header is provided (#3456) 5 years ago
Patrick Wang fa7e3c996e
🐛 Check Content-Type request header before assuming JSON (#2118) 5 years ago
Nima Mashhadi M. Reza da9b5201c4
🔧 Add Flake8 linting (#1774) 6 years ago
Brian Mboya fe453f80ed
⬆ Upgrade isort to version 5.x.x (#1670) 6 years ago
Andrew 12bc9285f7
🐛 Fix body validation error response, remove variable name when it is not embedded (#1553) 6 years ago
Aviram Hassan b13a4baf32
Add better JSON decode error handling, improve feedback for client after invalid JSON requests (#1354) 6 years ago
Samuel Colvin e9b189e9f2
Improve test debugging (#1222) 6 years ago
Sebastián Ramírez 0ac9b3ee5c
Re-export utils from Starlette (#1064) 6 years ago
Sebastián Ramírez b307d38897
♻️ Update default API title from "Fast API" to "FastAPI" for consistency (#890) 6 years ago
Sebastián Ramírez 88ece95a30
🎨 Improve automatic naming of path operations in API docs (#155) 7 years ago
Sebastián Ramírez 804ec460fc ⬆️ Add tests, fix issues and update Pydantic 8 years ago
Sebastián Ramírez f1808de18e Add tests for form and files 8 years ago
Sebastián Ramírez 22dc7e9132 Test for missing required body 8 years ago
Sebastián Ramírez 00e2e544c7 ♻️ Re-format tutorials, files names and tests 8 years ago