Skip to content

Conversation

@jjkoh95
Copy link

@jjkoh95 jjkoh95 commented Aug 30, 2024

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.

@jjkoh95 jjkoh95 closed this Apr 28, 2025
@jjkoh95 jjkoh95 deleted the promote-datamodel-code-generator-version branch April 28, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants