Skip to content

Commit

Permalink
Fix check style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed May 2, 2024
1 parent bed9125 commit a3d10ff
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 @@ -29,7 +29,6 @@
import io.ballerina.openapi.core.generators.common.GeneratorUtils;
import io.ballerina.openapi.core.generators.common.TypeHandler;
import io.ballerina.openapi.core.generators.common.exception.BallerinaOpenApiException;
import io.swagger.models.auth.In;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.Operation;
import org.testng.Assert;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ private static void updateParameterNodes(List<Node> docs, Operation operation, L
List<Node> updatedParamsDefault,
HashMap<String, ParameterNode> collection) {
List<Node> deprecatedParamDocComments = new ArrayList<>();
boolean hasQueryParams = operation.getParameters().stream().anyMatch(parameter -> parameter.getIn().equals("query"));
boolean hasQueryParams = operation.getParameters().stream().anyMatch(
parameter -> parameter.getIn().equals("query"));
operation.getParameters().forEach(parameter -> {
if (parameter.get$ref() != null) {
try {
Expand Down

0 comments on commit a3d10ff

Please sign in to comment.