Skip to main content

Tools

Accelerate integration development with Ballerina CLI tools that generate service stubs, client code, schemas, and data converters from industry-standard specifications. These tools eliminate boilerplate and ensure your integrations conform to API contracts, protocol definitions, and data standards.

In WSO2 Integrator, most tools are accessible both from the command line and from the Visual Designer in VS Code.

VS Code command palette showing bal tool commands

Integration tools

Generate Ballerina code from API specifications, protocol definitions, and domain-specific standards.

  • OpenAPI Tool -- Generate HTTP services and clients from OpenAPI/Swagger specifications
  • GraphQL Tool -- Generate GraphQL services and clients from SDL schemas
  • AsyncAPI Tool -- Generate event-driven services from AsyncAPI specifications
  • gRPC Tool -- Generate gRPC services and clients from Protocol Buffer definitions
  • Health Tool -- Generate FHIR and HL7 integration code for healthcare systems
  • EDI Tool -- Generate Ballerina code from EDI schema definitions for B2B data exchange
  • WSDL Tool -- Generate clients for SOAP/WSDL web services
  • XSD Tool -- Generate Ballerina record types from XML Schema definitions

Migration tools

Migrate existing integrations from other platforms to WSO2 Integrator.

Other tools

  • Scan Tool -- Run static code analysis to detect security, quality, and best practice issues
  • Persist Tool -- Generate type-safe data persistence clients for multiple data stores

Quick reference

ToolCommandInputOutputUI support
OpenAPIbal openapiOpenAPI YAML/JSONService stub or clientVisual Designer
GraphQLbal graphqlGraphQL SDLService or clientVisual Designer
AsyncAPIbal asyncapiAsyncAPI specEvent listener serviceVisual Designer
gRPCbal grpc.proto fileService stub and clientVisual Designer
WSDLbal wsdlWSDL fileSOAP clientVisual Designer
XSDbal xsd.xsd fileRecord typesVisual Designer
Healthbal healthFHIR/HL7 profilesHealthcare types and templatesCLI only
EDIbal ediEDI schemaEDI parser/generatorCLI only
Scanbal scanSource codeAnalysis reportCLI only
Persistbal persistRecord typesData store clientCLI only