For further inquiries or in-house implementations, please don't hesitate to contact us at info@api4ui.io.
Introduction to OpenEdge ABL - OpenAPI
Seamlessly Sync OpenAPI with Your Source Code
OpenAPI Generators streamline API development by automatically generating code, client libraries, and documentation based on an OpenAPI Specification (OAS). However, our plugin takes it a step further—it directly syncs your OpenAPI spec into your source code in real time.
With our integration-first approach, you can:
✅ Eliminate manual updates—changes in the OpenAPI spec instantly reflect in your code.
✅ Ensure consistency across API definitions, documentation, and implementation.
✅ Boost development speed by automating client/server code generation with zero friction.
Say goodbye to outdated API definitions and manual syncing—our OpenAPI sync plugin keeps your source code always up to date! 🚀
ABL server generator
The ABL server-side generation (abl-pasoe) is a specialized component of the OpenAPI generator that creates a complete server-side implementation in OpenEdge ABL (Advanced Business Language) for deploying REST services on PASOE (Progress Application Server for OpenEdge). Here's what it specifically does:
Service Adapter Generation:
- Creates PASOE service adapters that handle incoming HTTP requests
- Maps OpenAPI paths to ABL procedures using a consistent naming convention
- Generates proper path handling with support for all HTTP methods (GET, POST, PUT, DELETE, etc.)
- Implements path parameter validation and processing
Model Generation:
- Creates ABL classes for request and response models
- Implements builders for complex object construction
- Handles nested data structures with proper naming conventions
- Generates list models for array handling
- Provides JSON serialization/deserialization support
Business Logic Layer:
- Generates business logic interface classes
- Creates implementation templates for actual business logic
- Provides proper separation between API handling and business implementation
- Supports temp-table parameters for efficient data handling
Supporting Infrastructure:
- Generates JSON helper classes for data conversion
- Creates necessary package structure following OpenEdge conventions
- Sets up proper file organization for PASOE deployment
- Implements error handling and parameter validation
ABL client generator
The ABL client-side generation (abl) creates a complete HTTP client implementation in OpenEdge ABL for consuming REST services. Here's what it specifically does:
API Client Generation:
- Creates ABL classes for API endpoints
- Implements HTTP client methods for each API operation
- Handles request/response serialization
- Supports all HTTP methods (GET, POST, PUT, DELETE, etc.)
- Manages authentication (Basic, Bearer token)
Model Generation:
- Creates ABL classes for request and response models
- Implements builder patterns for complex object construction
- Handles nested data structures with consistent naming
- Generates list models for array handling
- Provides JSON serialization/deserialization
HTTP Client Infrastructure:
- Generates HTTP client configuration classes
- Creates client service factory for instance management
- Implements client registry for resource management
- Provides request/response interfaces
- Handles connection pooling and lifecycle
Supporting Components:
- JSON helper classes for data conversion
- Logging configuration
- Token provider interfaces for authentication
- Error handling and parameter validation
- Type-safe data handling