You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Should not produce any modular reference errors.
Version:
OS: [e.g. iOS] macOS
Python version: 3.10
datamodel-code-generator version: [e.g. 22] 0.22
Additional context
Changing the tittle to simple naming eliminates the issue: such as "title": "GenomeStudio",
So basically removing . from the title does not produce this bug
The text was updated successfully, but these errors were encountered:
Thank you for creating the PR.
I guess some users may use the . in the title. it's to define a model as a module 🤔
Should we provide the option to strip . from the title?
Describe the bug
When working with a jsonschema and invoking the model generator, one encounters following error:
Modular references require an output directory, not a file
It appears that the naming causes this error
"title": "GenomeStudio 2.0 - Methylation Module",
To Reproduce
Example schema:
Used commandline:
Expected behavior
Should not produce
any modular reference errors
.Version:
Additional context
Changing the tittle to simple naming eliminates the issue: such as
"title": "GenomeStudio",
So basically removing
.
from the title does not produce this bugThe text was updated successfully, but these errors were encountered: