diff --git a/openapi-cli/src/test/java/io/ballerina/openapi/generators/client/FunctionSignatureNodeTests.java b/openapi-cli/src/test/java/io/ballerina/openapi/generators/client/FunctionSignatureNodeTests.java index 605ab9963..b487f75cf 100644 --- a/openapi-cli/src/test/java/io/ballerina/openapi/generators/client/FunctionSignatureNodeTests.java +++ b/openapi-cli/src/test/java/io/ballerina/openapi/generators/client/FunctionSignatureNodeTests.java @@ -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; diff --git a/openapi-core/src/main/java/io/ballerina/openapi/core/generators/document/ClientDocCommentGenerator.java b/openapi-core/src/main/java/io/ballerina/openapi/core/generators/document/ClientDocCommentGenerator.java index 328282712..1608f7015 100644 --- a/openapi-core/src/main/java/io/ballerina/openapi/core/generators/document/ClientDocCommentGenerator.java +++ b/openapi-core/src/main/java/io/ballerina/openapi/core/generators/document/ClientDocCommentGenerator.java @@ -322,7 +322,8 @@ private static void updateParameterNodes(List docs, Operation operation, L List updatedParamsDefault, HashMap collection) { List 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 {