private void GenerateSchemas(IDictionary <string, OpenApiSchema> schemas, TypeList typeList) { foreach (var pair in schemas) { var type = GenerateSchema(_naming.SchemaType(pair.Key), typeList); typeList.Add(pair.Value, type); } }