We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d48a55 commit af4f5eaCopy full SHA for af4f5ea
generators/src/main/java/com/algolia/codegen/cts/manager/GoCTSManager.java
@@ -23,11 +23,13 @@ public String getClient() {
23
24
@Override
25
public void addDataToBundle(Map<String, Object> bundle) throws GeneratorException {
26
- Object clientPrefix = bundle.get("clientPrefix");
+ String clientPrefix = (String) bundle.get("clientPrefix");
27
bundle.put("clientName", Helpers.toPascalCase(this.client));
28
29
if (clientPrefix.equals("query-suggestions")) {
30
bundle.put("clientPrefix", "suggestions");
31
+ } else {
32
+ bundle.put("clientPrefix", Helpers.camelize(clientPrefix));
33
}
34
35
bundle.put("clientImport", clientPrefix);
0 commit comments