Ryan Russell
b4b39d3359
✏️ Fix typos in data for tests ( #4958 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2023-06-22 11:26:11 +00:00
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
supraaxdd
5e34cb1868
✏ Fix typos in `tests/test_schema_extra_examples.py` ( #5126 )
2022-08-26 16:36:41 +02:00
Sebastián Ramírez
9262fa8362
✨ Add support for not needing `...` as default value in required Query(), Path(), Header(), etc. ( #4906 )
...
* ✨ Do not require default value in Query(), Path(), Header(), etc
* 📝 Update source examples for docs with default and required values
* ✅ Update tests with new default values and not required Ellipsis
* 📝 Update docs for Query params and update info about default value, required, Ellipsis
2022-05-13 18:38:22 -05: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
Austin Orr
e10a4375f9
✨ Add support for adding multiple examples in request bodies and path, query, cookie, and header params ( #1267 )
...
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2021-05-05 20:20:56 +02:00