diff --git a/src/Refitter.Core/SchemaCleaner.cs b/src/Refitter.Core/SchemaCleaner.cs index 75cb6a794..be48b07be 100644 --- a/src/Refitter.Core/SchemaCleaner.cs +++ b/src/Refitter.Core/SchemaCleaner.cs @@ -194,6 +194,11 @@ private IEnumerable EnumerateSchema(JsonSchema? schema) } } + if (schema.DictionaryKey != null) + { + yield return schema.DictionaryKey; + } + if (schema.Item != null) { yield return schema.Item;