Skip to content

Commit 30f42ac

Browse files
committed
Update README
1 parent 2c4e4e1 commit 30f42ac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ If you are carefully curating your `title` properties already to ensure no dupli
178178

179179
If this option results in conflicts, you will need to manually override class names instead via the `class_overrides` option.
180180

181+
### enumerate_duplicate_model_names
182+
183+
Even with `use_path_prefixes_for_title_model_names` set to `true`, duplicate model class names can occur. By default, when duplicates are encountered they will be skipped.
184+
185+
Setting `enumerate_duplicate_model_names` to `true` in your config file will result in a number being added to duplicate names starting with 2. For instance, if `MyModelName` already exists, then the next time a model with that name is encountered, it will be named `MyModelName2`, then `MyModelName3` and so on.
186+
181187
### http_timeout
182188

183189
By default, the timeout for retrieving the schema file via HTTP is 5 seconds. In case there is an error when retrieving the schema, you might try and increase this setting to a higher value.

0 commit comments

Comments
 (0)