Sebastián Ramírez
dcc1e1bcf8
♻️ Refine internal type declarations and logic around them ( #338 )
2019-06-27 20:51:17 +02:00
Sebastián Ramírez
09cd7c47a1
✨ Implement dependency overrides for testing ( #291 )
...
* ✨ Implement dependency overrides for testing
* ✅ Add docs source tests and extra tests for dependency overrides
* 📝 Add docs for testing dependencies with overrides
2019-06-05 15:43:18 +04:00
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
2019-05-29 16:27:55 +04:00
Sebastián Ramírez
a49d45eaa9
🐛 Fix response_model type to allow List[Model] ( #266 )
2019-05-27 21:56:20 +04:00
Sebastián Ramírez
7b63bc5551
✨ Add include, exclude, and by_alias to path operation methods ( #264 )
...
* ✨ Make jsonable_encoder's include and exclude receive sequences
* ✨ Add include, exclude, and by_alias to app and router
* ✨ Add and update tutorial code with new parameters
* 📝 Update docs for new parameters and add docs for updating data
* ✅ Add tests for consistency in path operation methods
* ✅ Add tests for new parameters and update tests
2019-05-27 16:08:13 +04:00
William Hayes
d8716f94ae
✨ Add skip_defaults support for path operations (for #242 ) ( #248 )
2019-05-25 19:35:57 +04:00
James Kaplan
b087246f26
✨ Add support for WebSockets with dependencies, params, etc #166 ( #178 )
2019-05-24 20:41:41 +04:00
Steinthor Palsson
325edd5f00
✨ Add swagger UI OAuth2 redirect page for implicit/code auth flows in API docs ( #198 )
2019-05-21 22:39:58 +04:00
Trim21
01b43e6e25
⚡ Make Swagger UI, ReDoc and OpenAPI handlers be coroutines to improve performance ( #241 )
2019-05-20 18:34:33 +04:00
Sebastián Ramírez
e92b43b5c8
✨ Add parameter dependencies to path operation decorators and include_router ( #235 )
...
* ✨ Implement dependencies in decorator and .include_router
* 📝 Add docs for parameter dependencies
* ✅ Add tests for dependencies parameter
* 🔥 Remove debugging prints in tests
* 📝 Update release notes
2019-05-16 18:07:00 +04:00
Sebastián Ramírez
192ebba2a2
♻️ Rename parameter content_type to response_class ( #183 )
2019-04-26 13:11:16 +04:00
Sebastián Ramírez
2bd775988f
✨ Add/refactor addditional responses, tests, docs
2019-04-05 13:54:00 +04:00
Mohammed
65568065e0
Remove extra code.
2019-03-23 00:47:32 +03:00
Mohammed
84a300ef84
Formatting according to guide
2019-03-22 22:54:48 +03:00
Mohammed
c6d28c8209
Accept Multiple Additional Responses
2019-03-22 22:50:47 +03:00
Mohammed
aa0bca7bb2
Additional Responses implementation
2019-03-22 22:40:07 +03:00
euri10
11c755bee3
✨ Add tags parameter to app.include_router ( #55 )
2019-03-16 21:15:08 +04:00
Sebastián Ramírez
ba10838c30
⬆️ Upgrade Starlette and fix compatibility ( #44 )
2019-02-19 20:27:48 +04:00
Sebastián Ramírez
8772e2f2ee
✨ Add HTTPException with custom headers ( #35 )
...
* 📝 Update Release Notes with issue templates
* ✨ Add HTTPException with support for headers
Including docs and tests
* 📝 Update Security docs to use new HTTPException
2019-02-16 17:01:29 +04:00
Kabir Khan
0ea0d0e82a
Add Open API prefix route - correct docs behind reverse proxy ( #26 )
...
Add Open API prefix route - correct docs behind reverse proxy.
2019-02-14 22:57:49 +04:00
Sebastián Ramírez
7da9625505
💚 Revert to flit install and re-format
...
As it has shown to be more reliable, and closer to final user environments
2018-12-18 22:36:04 +04:00
Sebastián Ramírez
00e2e544c7
♻️ Re-format tutorials, files names and tests
...
for tutorial files
2018-12-18 21:59:06 +04:00
Sebastián Ramírez
acc15230ea
✅ Update query tests, application type checks
...
and temporarily disable coverage fail, to allow publishing docs from Travis
2018-12-17 15:48:38 +04:00
Sebastián Ramírez
f9c876802f
🎨 Update param names for main FastAPI app and types
2018-12-14 10:00:49 +04:00
Sebastián Ramírez
948a39af95
🎨 Re-order parameters
2018-12-13 20:05:35 +04:00
Sebastián Ramírez
db3c270f8e
✨ Update requests with body, rename params
2018-12-08 11:55:36 +04:00
Sebastián Ramírez
0e19c24014
✨ Update parameter names and order
...
fix mypy types, refactor, lint
2018-12-07 19:12:16 +04:00
Sebastián Ramírez
addfa89b0f
✨ Refactor, update code, several features
2018-12-06 23:47:58 +04:00
Sebastián Ramírez
b9d912c638
♻️ Refactor, fix and update code
2018-12-06 20:24:50 +04:00
Sebastián Ramírez
406c092a3b
🎉 Start tracking messy initial stage
...
...before refactoring and breaking something
2018-12-05 10:56:50 +04:00