Skip to content

Commit 2922e2a

Browse files
committed
format
1 parent d059f83 commit 2922e2a

File tree

4 files changed

+143
-143
lines changed

4 files changed

+143
-143
lines changed

generators/src/main/java/com/algolia/codegen/AlgoliaDartGenerator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void processOpts() {
4747
packageFolder = libName;
4848
setPubDescription(
4949
"A Dart package for Algolia. Enables seamless integration for instant search, typo" +
50-
" tolerance & user insights, and more, in Dart/Flutter apps."
50+
" tolerance & user insights, and more, in Dart/Flutter apps."
5151
);
5252
} else {
5353
String packageName = client.replace("-", "_");
@@ -56,9 +56,9 @@ public void processOpts() {
5656
setApiNameSuffix(Helpers.API_SUFFIX);
5757
setPubDescription(
5858
"A sub-package of the AlgoliaSearch library, offering " +
59-
client.replace("-", " ") +
60-
"-specific functionalities for enhanced search and discovery in Dart/Flutter" +
61-
" apps."
59+
client.replace("-", " ") +
60+
"-specific functionalities for enhanced search and discovery in Dart/Flutter" +
61+
" apps."
6262
);
6363
}
6464
setPubName(libName);

generators/src/main/java/com/algolia/codegen/cts/tests/ParametersWithDataType.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -396,19 +396,19 @@ private void handleModel(
396396
} else {
397397
throw new CTSException(
398398
"Parameter '" +
399-
entry.getKey() +
400-
"' not found in '" +
401-
paramName +
402-
"'. Available properties are: " +
403-
spec
404-
.getVars()
405-
.stream()
406-
.map(v -> v.baseName)
407-
.collect(Collectors.joining(", ")) +
408-
(spec.getAdditionalPropertiesIsAnyType() ? " (and any additional properties)" : "") +
409-
". Or you might have a type conflict in the spec for '" +
410-
baseType +
411-
"'"
399+
entry.getKey() +
400+
"' not found in '" +
401+
paramName +
402+
"'. Available properties are: " +
403+
spec
404+
.getVars()
405+
.stream()
406+
.map(v -> v.baseName)
407+
.collect(Collectors.joining(", ")) +
408+
(spec.getAdditionalPropertiesIsAnyType() ? " (and any additional properties)" : "") +
409+
". Or you might have a type conflict in the spec for '" +
410+
baseType +
411+
"'"
412412
);
413413
}
414414
} else {

generators/src/main/java/com/algolia/codegen/cts/tests/TestsRequest.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,17 @@ public void run(Map<String, CodegenModel> models, Map<String, CodegenOperation>
104104

105105
throw new CTSException(
106106
"operationId '" +
107-
operationId +
108-
"' does not exist in the " +
109-
client +
110-
" tests suite, please create the file:" +
111-
" 'tests/CTS/requests/" +
112-
client +
113-
"/" +
114-
operationId +
115-
".json'.\n" +
116-
"You can read more on the documentation:" +
117-
" https://api-clients-automation.netlify.app/docs/testing/common-test-suite"
107+
operationId +
108+
"' does not exist in the " +
109+
client +
110+
" tests suite, please create the file:" +
111+
" 'tests/CTS/requests/" +
112+
client +
113+
"/" +
114+
operationId +
115+
".json'.\n" +
116+
"You can read more on the documentation:" +
117+
" https://api-clients-automation.netlify.app/docs/testing/common-test-suite"
118118
);
119119
}
120120
Request[] op = cts.get(operationId);
@@ -126,10 +126,10 @@ public void run(Map<String, CodegenModel> models, Map<String, CodegenOperation>
126126
if (req.skipLanguages != null && req.skipLanguages.contains(language)) {
127127
System.out.println(
128128
"Skipping request test " +
129-
(req.testName == null ? operationId : req.testName) +
130-
" for language " +
131-
language +
132-
", please fix this"
129+
(req.testName == null ? operationId : req.testName) +
130+
" for language " +
131+
language +
132+
", please fix this"
133133
);
134134
continue;
135135
}

0 commit comments

Comments
 (0)