Julio C. Galindo
Julio C. Galindo
@YuriiMotov Ohh I just realized you added tests by yourself... This method is just partially documented, so no need to update any docs. It could be merged already. Thanks for...
@YuriiMotov Yes we could mark it as resolved! I think it was covered by your test, so it's not necessary to use REF_TEMPLATE for all generators, right?
@mwildehahn Here you have an example to have the functionality while its merged... Just call `CustomJsonSchemaGenerator.inject_fastapi()` after creating your app. ```python from sys import modules from fastapi.openapi.utils import get_openapi from...
@YuriiMotov @tiangolo This PR got broken after yesterdays changes to support both `pydantic` v1 and v2 in the same app, so I will adapt this code to the new structure.
tests are pending after refactor, will do it next!
Thanks for the details in this PR that helped me complete [thisone](https://github.com/fastapi/sqlmodel/pull/1628). I would recommend to take a look to may simplify the logic a little with more typing definitions...