                 code.conforms.append(codable)
             }
 
+            code.conforms.append(caseIterable)
             return code
         }
 

            if let useAnyOfEnums = useAnyOfEnums { curio.useAnyOfEnums = useAnyOfEnums }
            if let anyOfAsOneOf = anyOfAsOneOf { curio.anyOfAsOneOf = anyOfAsOneOf }
            if let generateEquals = generateEquals { curio.generateEquals = generateEquals }
            if let generateCodable = generateCodable { curio.generateCodable = generateCodable }
            if let generateBricBrac = generateBricBrac { curio.generateBricBrac = generateBricBrac }


                if !cases.isEmpty {
                    var keysType = CodeSimpleEnum(name: keyName, access: accessor(parents), cases: cases)
                    keysType.conforms.append(codingKey)
                    keysType.conforms.append(caseIterable)

                    if bricState {
                        // also add an "asList" static field for key enumeration
