Skip to content

Commit

Permalink
Fix review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
lnash94 committed Jan 17, 2024
1 parent 7d6dfca commit cf982ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void testWithoutDataBinding() throws IOException {
"Expected content and actual generated content is mismatched for: " + yamlPath);
deleteGeneratedFiles("without-data-binding-service.bal");
} else {
Assert.fail("Service generation for All Of Schema type failed.");
Assert.fail("Service generation for low level service is failed.");
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ private static String getPathParameterType(Schema<?> typeSchema, String pathPara
String type;
if (!(isStringSchema(typeSchema) || isNumberSchema(typeSchema) || isBooleanSchema(typeSchema)
|| isIntegerSchema(typeSchema))) {
type = "string";
type = STRING;
LOGGER.warn("unsupported path parameter type found in the parameter `" + pathParam + "`. hence the " +
"parameter type is set to string.");
} else {
Expand Down

0 comments on commit cf982ff

Please sign in to comment.