Sebastián Ramírez
c7db2ff858
🐛 Fix path and query parameters receiving dict as valid ( #287 )
...
* 🐛 Fix path and query parameters accepting dict
* ✅ Add several tests to ensure invalid types are not accepted
* 📝 Document (to include tested source) using query params with list
* 🐛 Fix OpenAPI schema in query with list tutorial
2019-06-03 21:59:40 +04:00
Sebastián Ramírez
2a7ef5504a
🔖 Release 0.27.1
2019-06-03 18:44:03 +04:00
Sebastián Ramírez
27964c5ffd
📝 Update release notes
2019-06-01 10:00:26 +04:00
Sebastián Ramírez
d262f6e929
🐛 Fix HTTP Bearer security auto-error ( #282 )
2019-06-01 09:57:45 +04:00
Sebastián Ramírez
d61f5e4b55
📝 Update release notes
2019-05-30 19:43:32 +04:00
Sebastián Ramírez
3ed112e8a9
🐛 Fix type declaration of HTTPException ( #279 )
2019-05-30 19:43:02 +04:00
Sebastián Ramírez
9da626eb2c
🔖 Release version 0.27.0
2019-05-30 17:48:52 +04:00
Sebastián Ramírez
6f74c7327b
📝 Update release notes
2019-05-30 17:45:38 +04:00
dmontagu
360a2797c1
🐛 Fix docs link in oauth2-scopes.md ( #275 )
...
#274
2019-05-30 17:43:18 +04:00
Sebastián Ramírez
0552977cd6
📝 Update release notes
2019-05-30 17:41:40 +04:00
Sebastián Ramírez
bd407cc4ed
✨ Refactor param extraction using Pydantic Field ( #278 )
...
* ✨ Refactor parameter dependency using Pydantic Field
* ⬆️ Upgrade required Pydantic version with latest Shape values
* ✨ Add tutorials and code for using Enum and Optional
* ✅ Add tests for tutorials with new types and extra cases
* ♻️ Format, clean, and add annotations to dependencies.utils
* 📝 Update tutorial for query parameters with list defaults
* ✅ Add tests for query param with list default
2019-05-30 17:40:43 +04:00
Sebastián Ramírez
83b1a117cc
🔖 Release version 0.26.0
2019-05-29 19:29:44 +04:00
Sebastián Ramírez
2a1ff213a0
📝 Update release notes
2019-05-29 16:33:19 +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
15da01af5c
📝 Update release notes
2019-05-29 13:46:27 +04:00
William Hayes
d544bdf092
📝 Update docs for paths in path params ( #256 )
2019-05-29 13:43:41 +04:00
Sebastián Ramírez
703ade7967
🐛 Fix path in path parameters ( #272 )
2019-05-29 13:34:46 +04:00
Sebastián Ramírez
58f135ba2f
📝 Update link in release notes
2019-05-29 11:51:43 +04:00
Sebastián Ramírez
713d374484
📝 Update release notes
2019-05-29 11:47:46 +04:00
Sebastián Ramírez
24e9ea28d3
✅ Update testing docs, examples for testing POST, headers ( #271 )
2019-05-29 11:47:21 +04:00
Sebastián Ramírez
cae53138b2
📝 Update release notes
2019-05-27 21:56:49 +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
3986f79029
🔖 Release version 0.25.0
2019-05-27 20:21:03 +04:00
Sebastián Ramírez
7379fde5ee
📝 Update release notes
2019-05-27 16:28:24 +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
Sebastián Ramírez
747ae8210f
📝 Update release notes
2019-05-25 19:48:27 +04:00
William Hayes
c651416e05
📝 Create CONTRIBUTING.md ( #255 )
2019-05-25 19:47:49 +04:00
Sebastián Ramírez
814f95e2bf
📝 Update release notes
2019-05-25 19:40:04 +04:00
William Hayes
d8716f94ae
✨ Add skip_defaults support for path operations (for #242 ) ( #248 )
2019-05-25 19:35:57 +04:00
Sebastián Ramírez
67f8cb3b4f
🔖 Release 0.24.0
2019-05-24 22:48:27 +04:00
Sebastián Ramírez
5c2828bd13
📝 Update release notes
2019-05-24 20:46:36 +04:00
James Kaplan
b087246f26
✨ Add support for WebSockets with dependencies, params, etc #166 ( #178 )
2019-05-24 20:41:41 +04:00
Sebastián Ramírez
219d299426
📝 Update release notes
2019-05-23 11:04:13 +04:00
euri10
31da760729
⬆️ Upgrade Pydantic to 0.26 ( #247 )
2019-05-23 11:03:53 +04:00
Sebastián Ramírez
fc89eb8f81
🔖 Release version 0.23.0
2019-05-21 23:26:28 +04:00
Sebastián Ramírez
6fca1041e9
📝 Update release notes
2019-05-21 23:05:46 +04:00
Sebastián Ramírez
9db1f5641b
⬆️ Upgrade Starlette to 0.12.0 ( #243 )
2019-05-21 22:59:48 +04:00
Sebastián Ramírez
c3beb56e63
📝 Update release notes
2019-05-21 22:46:22 +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
Sebastián Ramírez
08322ef359
📝 Update release notes
2019-05-20 18:37:39 +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
3cf92a156c
📝 Update release notes
2019-05-20 11:27:33 +04:00
euri10
f54d8d57a4
✨ Make Swagger UI and ReDoc parameterizable to host offline assets for docs ( #112 )
2019-05-20 11:26:54 +04:00
Sebastián Ramírez
56ab106bbb
🔖 Release version 0.22.0
2019-05-16 18:09:11 +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
7c50025c47
📝 Update release notes
2019-05-16 17:58:22 +04:00
euri10
adfbd27100
🐛 Fix OpenAPI URL format for Starlette convertors ( #234 )
2019-05-16 17:55:14 +04:00
Sebastián Ramírez
eada8bf7db
📝 Update release notes
2019-05-15 23:01:19 +04:00
Sebastián Ramírez
440b7a8efa
📝 Update relase notes
2019-05-15 22:14:25 +04:00
Sebastián Ramírez
fcaff64646
🔧 Separate format and lint scripts ( #232 )
2019-05-15 22:13:06 +04:00