{"record":{"id":"52ca6d4537afb558","repo":"OpenAPITools/openapi-generator","slug":"collectionformat-collection-format-not-support-52ca6d","errorCode":null,"errorMessage":"{collectionFormat} (collection format) not supported","messagePattern":"(.+?) \\(collection format\\) not supported","errorType":"exception","errorClass":"UnsupportedOperationException","httpStatus":null,"severity":"error","filePath":"modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/HaskellServantCodegen.java","lineNumber":648,"sourceCode":"        return op;\n    }\n\n    private String makeQueryListType(String type, String collectionFormat) {\n        type = type.substring(1, type.length() - 1);\n        switch (collectionFormat) {\n            case \"csv\":\n                return \"(QueryList 'CommaSeparated (\" + type + \"))\";\n            case \"tsv\":\n                return \"(QueryList 'TabSeparated (\" + type + \"))\";\n            case \"space\":\n            case \"ssv\":\n                return \"(QueryList 'SpaceSeparated (\" + type + \"))\";\n            case \"pipes\":\n                return \"(QueryList 'PipeSeparated (\" + type + \"))\";\n            case \"multi\":\n                return \"(QueryList 'MultiParamArray (\" + type + \"))\";\n            default:\n                throw new UnsupportedOperationException(collectionFormat + \" (collection format) not supported\");\n        }\n    }\n\n    // Remove characters from a string that do not belong in a model classname\n    private String fixModelChars(String string) {\n        return string.replace(\".\", \"\").replace(\"-\", \"\");\n    }\n\n    // Override fromModel to create the appropriate model namings\n    @Override\n    public CodegenModel fromModel(String name, Schema mod) {\n        CodegenModel model = super.fromModel(name, mod);\n\n        setGenerateToSchema(model);\n\n        // Clean up the class name to remove invalid characters\n        model.classname = fixModelChars(model.classname);\n        if (typeMapping.containsValue(model.classname)) {","sourceCodeStart":630,"sourceCodeEnd":666,"githubUrl":"https://github.com/OpenAPITools/openapi-generator/blob/fcec517be3cf5b7964296bcba25fbc97541484e7/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/HaskellServantCodegen.java#L630-L666","documentation":"Error \"{collectionFormat} (collection format) not supported\" thrown in OpenAPITools/openapi-generator.","triggerScenarios":"Thrown when a parameter in the spec uses a collectionFormat that the Haskell Servant generator does not support. Change the parameter's collectionFormat to a supported one.","commonSituations":"See trigger scenarios.","solutions":["Use a supported collection format for array query parameters (e.g. csv) in the spec."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fcec517be3cf5b7964296bcba25fbc97541484e7","analyzedAt":"2026-08-22T11:13:11.613Z","schemaVersion":2},"datasetVersion":"2026-08-22T14:17:55.899Z"}