Commit Graph
4 Commits
Author SHA1 Message Date
Sebastián Ramírez d6db5d4f58 ✨ OpenAPI 3.1.0 with Pydantic v2, merge master (#9773) 2023-07-01 20:08:39 +02: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
Sebastián RamírezandMartin Zaťko e5594e860f ✅ Update response_model_by_alias (#1642)
* Make openapi models honor response_model_by_alias

* Add test for response_model_by_alias working with openapi models

* ⏪ Revert changes

* ✅ Update and extend tests for response_model_by_alias

* ⏪ Revert test name change

* 📌 Pin Pytest and Pytest-Cov

Co-authored-by: Martin Zaťko <martin.zatko@kiwi.com>
2020-06-28 13:58:21 +02:00
Sebastián Ramírez 25e85c8522 ✅ Add test from @dmontagu in #333 for duplicate models (#385) 2019-07-12 19:13:28 -05:00