123 Commits (ca437cdfabe7673b838cf42889ba1c653acd2228)

Author SHA1 Message Date
Sebastián Ramírez ddd9da3db4
Fix new/recent tests with new fixed `ValidationError` JSON Schema (#4806) 3 years ago
dconathan c449ae5c74
🐛 Fix JSON Schema for `ValidationError` at field `loc` (#3810) 3 years ago
Sebastián Ramírez e1d0e3874b
Temporarily remove typer-cli from dependencies and upgrade Black (#4754) 3 years ago
Sebastián Ramírez 8a0d4c79c1
Add support for custom `generate_unique_id_function` and docs for generating clients (#4650) 3 years ago
Sebastián Ramírez 1bf55200a9
Add support for declaring `UploadFile` parameters without explicit `File()` (#4469) 3 years ago
Sebastián Ramírez 569afb4378
Add support for tags with Enums (#4468) 3 years ago
Mark ca5d57ea79
Allow hiding from OpenAPI (and Swagger UI) `Query`, `Cookie`, `Header`, and `Path` parameters (#3144) 3 years ago
John Riebold a85aa125d2
Enable configuring Swagger UI parameters (#2568) 3 years ago
Sebastián Ramírez d08a062ee2
Add docs and tests for Python 3.9 and Python 3.10 (#3712) 3 years ago
Eric Jolibois b0cd4d7e7e
🐛 Fix JSON Schema for dataclasses, supporting the fixes in Pydantic 1.9 (#4272) 3 years ago
Thomas Grainger 11d0a08acd
Add support for Trio via AnyIO (#3372) 4 years ago
Marcelo Trylesinski ab33ba27af
⬆ Add support for Python 3.9 (#2298) 4 years ago
Edouard Lavery-Plante 836bb97a2d
Add support for extensions and updates to the OpenAPI schema in path operations (#1922) 4 years ago
dkreeft 6f45f43709
Add additonal OpenAPI metadata parameters to `FastAPI` class, shown on the automatic API docs UI (#1812) 4 years ago
Marcelo Trylesinski fa2c750443
Add the `docs_src` directory to test coverage and update tests (#1904) 4 years ago
Sebastián Ramírez 684c0077cc
Add support for `dataclasses` in request bodies and `response_model` (#3577) 4 years ago
Thomas Grainger 2d296c5d07
🔧 Configure strict pytest options and update/refactor tests (#2790) 4 years ago
Sebastián Ramírez dc5a966548
Allow setting the `response_class` to `RedirectResponse` and returning the URL from the function (#3457) 4 years ago
Sebastián Ramírez edf6b2d61f
♻ Assume request bodies contain JSON when no Content-Type header is provided (#3456) 4 years ago
Patrick Wang fa7e3c996e
🐛 Check Content-Type request header before assuming JSON (#2118) 4 years ago
Hannes Küttner 4aed0411e9
⬆️ Upgrade Starlette to 0.14.2, including internal UJSONResponse migrated from Starlette (#2335) 4 years ago
Austin Orr e10a4375f9
Add support for adding multiple examples in request bodies and path, query, cookie, and header params (#1267) 4 years ago
Sebastián Ramírez 313bbe802f
Add support for shared/top-level parameters (dependencies, tags, etc) (#2434) 4 years ago
nukopy 22a5960d36
📝 Fix code consistency in examples for Tutorial - User Guide - Path Parameters (#2158) 4 years ago
Sebastián Ramírez e1758d107e
⬆ Require Pydantic > 1.0 (#1862) 5 years ago
Rupsi Kaushik 5ed48ccdc8
Export WebSocketDisconnect and add example handling disconnections to docs (#1822) 5 years ago
Nima Mashhadi M. Reza da9b5201c4
🔧 Add Flake8 linting (#1774) 5 years ago
Felix Böhm 2fd28434dd
📝 Add documentation about async tests (pytest-asyncio and httpx) (#1619) 5 years ago
Rupsi Kaushik 70a51b3aff
Auto-generate OpenAPI servers from root_path (#1596) 5 years ago
Sebastián Ramírez 600f15faa0
✔ Improve support for tests in editor (#1699) 5 years ago
Brian Mboya fe453f80ed
⬆ Upgrade isort to version 5.x.x (#1670) 5 years ago
Sebastián Ramírez 1f01ce9615
📝 Use Optional in docs (#1644) 5 years ago
Sebastián Ramírez 181a32236a
Deep merge OpenAPI responses (#1577) 5 years ago
Andrew 12bc9285f7
🐛 Fix body validation error response, remove variable name when it is not embedded (#1553) 5 years ago
Chih Sean Hsu e4300769ac
📝 Update tutorial for WebSockets with dependencies (#1540) 5 years ago
Aviram Hassan b13a4baf32
Add better JSON decode error handling, improve feedback for client after invalid JSON requests (#1354) 5 years ago
Thomas Maschler a071ddf3cd
Add support for tag metadata in OpenAPI (#1348) 5 years ago
Ingmar Steen 2f478eeca6
Add support for ASGI root_path for openapi docs (#1199) 5 years ago
Sebastián Ramírez 5984233223
🐛 Fix Enum handling with their own schema definitions (#1463) 5 years ago
Sebastián Ramírez ee335bca82
Add test to support Enums with their own re-usable schema (#1461) 5 years ago
Sebastián Ramírez 409264960e
Allow disabling docs UIs by disabling OpenAPI (#1421) 5 years ago
Sebastián Ramírez a46bbc54cd
Update database setup for tests (#1226) 5 years ago
Samuel Colvin e9b189e9f2
Improve test debugging (#1222) 5 years ago
duganchen d96223460b
📝 Add an example of setting up a test database (#1144) 5 years ago
alexmitelman d4d5b21b2e
📝 Add documentation about settings and env vars (#1118) 5 years ago
Sebastián Ramírez 459f0e11e5
🏁 Update Windows development environment and tests (#1179) 5 years ago
Tomoya Yoshioka 15241b53a8
📝 Clarify function name in example (#1121) 5 years ago
Sebastián Ramírez 6205935323
Add support for docs translations (#1168) 5 years ago
Sebastián Ramírez 94ee932351
Add ORJSONResponse (#1065) 5 years ago
Sebastián Ramírez 0ac9b3ee5c
Re-export utils from Starlette (#1064) 5 years ago