Skip to content

Commit

Permalink
Merge pull request #1622 from lnash94/master-2201.9.0-20240319-094400…
Browse files Browse the repository at this point in the history
…-0453ecf0

[master] Update client integration for bal build with new plugin changes, reflecting changes in tool name implementation
  • Loading branch information
lnash94 authored Mar 20, 2024
2 parents 8ca558f + e1ea2b3 commit 0096822
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ group=io.ballerina
version=1.9.0-SNAPSHOT

#dependency
ballerinaLangVersion=2201.9.0-20240229-103900-a949e6d4
ballerinaLangVersion=2201.9.0-20240319-094400-0453ecf0
testngVersion=7.6.1
slf4jVersion=1.7.30
org.gradle.jvmargs=-Xmx4096M -Dfile.encoding=UTF-8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import io.ballerina.openapi.core.model.GenSrcFile;
import io.ballerina.projects.Package;
import io.ballerina.projects.buildtools.CodeGeneratorTool;
import io.ballerina.projects.buildtools.ToolConfig;
import io.ballerina.projects.buildtools.ToolContext;
import io.ballerina.toml.semantic.diagnostics.TomlNodeLocation;
import io.ballerina.tools.diagnostics.DiagnosticFactory;
Expand Down Expand Up @@ -78,14 +79,11 @@
*
* @since 1.9.0
*/

@ToolConfig(name = "openapi")
public class OpenAPICodeGeneratorTool implements CodeGeneratorTool {
static String hashOpenAPI;

@Override
public String toolName() {
return "openapi";
}

@Override
public void execute(ToolContext toolContext) {
ImmutablePair<OASClientConfig, OASServiceMetadata> codeGeneratorConfig;
Expand Down

0 comments on commit 0096822

Please sign in to comment.