Sebastián Ramírez
50c1a928fb
✅ Refactor OpenAPI tests, prepare for Pydantic v2 ( #9503 )
...
* ✅ Refactor OpenAPI tests, move inline, prepare for Pydantic v2 tests
* ✅ Fix test module loading for conditional OpenAPI
* 🐛 Fix missing pytest marker
* ✅ Fix test for coverage
2023-05-08 23:07:32 +02:00
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 )
...
Co-authored-by: Paweł Rubin <pawel.rubin@ocado.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2022-11-13 15:26:09 +01:00
dconathan
c449ae5c74
🐛 Fix JSON Schema for `ValidationError` at field `loc` ( #3810 )
...
Co-authored-by: Devin Conathan <dconatha@amfam.com>
2022-04-17 19:41:46 +02:00
Sebastián Ramírez
fdb6c9ccc5
✨ Improve type annotations, add support for mypy --strict, internally and for external packages ( #2547 )
2020-12-20 19:50:00 +01:00
JAYATI SHRIVASTAVA
2b47f3e56b
✨ Add support for adding OpenAPI schema for GET requests with a body ( #1626 )
...
* add test for get request body's openapi schema
* 📝 Update docs note for GET requests with body
* ✅ Update test for GET request with body, test it receives the body
* 🔇 Temporary type ignore while it's handled in Pydantic
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2020-07-19 12:17:50 +02:00