Zoltan Papp
19c53b21c1
✨ Allow using custom 422 validation error and use media type from response class in schema ( #437 )
* media_type of additional responses from the response_class
* Use HTTPValidationError only if a custom one is not defined (Fixes : #429 )
6 years ago
Sebastián Ramírez
62af6e0eeb
✨ Separate Pydantic's ValidationError handler and improve docs for error handling ( #273 )
* ✨ Implement separated ValidationError handlers and custom exceptions
* ✅ Add tutorial source examples and tests
* 📝 Add docs for custom exception handlers
* 📝 Update docs section titles
6 years ago
Sebastián Ramírez
88ece95a30
🎨 Improve automatic naming of path operations in API docs ( #155 )
* 🎨 Improve operation summary naming
* 📝 Update names in README
* 🚚 Improve names of security tutorial
6 years ago
Sebastián Ramírez
955e9fcb31
Update fix SQLAlchemy support with ORM ( #30 )
✨ SQLAlchemy ORM support
Improved jsonable_encoder with SQLAlchemy support, tests running with SQLite, improved and updated SQL docs
* ➕ Add SQLAlchemy to development dependencies (not required for using FastAPI)
* ➕ Add sqlalchemy to testing dependencies (not required to use FastAPI)
6 years ago
Sebastián Ramírez
be957e7c99
✨ Allow lists of query or header params
and add tests for them
6 years ago
Sebastián Ramírez
b38fb937b0
🔇 Remove debugging prints
6 years ago
Sebastián Ramírez
ae50492735
✅ Add tests for header parameters
6 years ago
Sebastián Ramírez
00e2e544c7
♻️ Re-format tutorials, files names and tests
for tutorial files
6 years ago