default void adjustDuplicateNames(Map<DefinitionKey, String> subschemasWithDuplicateNames, SchemaGenerationContext generationContext) {
        int index = 1;
        for (Map.Entry<DefinitionKey, String> singleEntry : subschemasWithDuplicateNames.entrySet()) {
            singleEntry.setValue(singleEntry.getValue() + "-" + index);
            index++;
        }
    }
Adjust the names/keys in the "definitions"/"$defs" for the given definition references that have the same names (according to
{@link #getDefinitionNameForKey(DefinitionKey, SchemaGenerationContext)}) to ensure their uniqueness.
<br>
By default, a numeric counter is appended after a separating dash to each duplicate name.

@param subschemasWithDuplicateNames definition references that initially have the same values that should be adjusted
@param generationContext generation context providing access to the applied configuration and type context
@see #getDefinitionNameForKey(DefinitionKey, SchemaGenerationContext)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/naming/SchemaDefinitionNamingStrategy.java