Skip to content

Commit

Permalink
Update tool name implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
lnash94 committed Mar 20, 2024
1 parent 8ca558f commit e1ea2b3
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 e1ea2b3

Please sign in to comment.