koxudaxi / fastapi-code-generator

This code generator creates FastAPI app from an openapi file.
MIT License
1.03k stars 104 forks source link

Update datamodel-code-generator from 0.25.6 to 0.25.9 #451

Open jjkoh95 opened 1 month ago

jjkoh95 commented 1 month ago

I'm facing conflict in version when I need to use both fastapi-code-generator and datamodel-code-generator

The datamodel-code-generator is able to generate models with "dot" in their names (output to a folder), however when I use fastapi-code-generator, I hit issue Modular references are not supported in this version.

I couldn't get it fixed and decided to use datamodel-code to generate model and fastapi-code to generate for the routes separately.

I'm not entirely sure how to allow fastapi-code-generator to adopt the same, happy to contribute if any guidance can be provided.