OL Hub Release Notes 3.0.26

✨ New Features

Global Models

Introduced Global Models to OpenLegacy Hub—reusable, centrally managed data structures for Method Flows.

Flows can now reference shared models for their input schemas, ensuring consistent payload definitions across methods and simplifying ongoing maintenance.

The new Global Models screen allows you to:

  • Create and manage models in a centralized location
  • Define fields using a grid interface (including required/nullable, key, searchable, and default value attributes)
  • Track usage through the “Contract Models in Use” view

For more details, see the documentation: https://docs.ol-hub.com/docs/global-models


🚀 Enhancements

Reverse Client Generator – Response Consolidation

Reverse-generated client programs for AS/400 RPG have been enhanced to represent all possible responses more efficiently, without duplicating structures:

  • All 2XX responses are grouped and named as:

    • RESPONSE-OK – the primary success structure (HTTP 200 if available, otherwise the first 2XX)
    • RESPONSE-OK2, RESPONSE-OK3, etc. – additional distinct success structures
  • All non-2XX responses are grouped and named as:

    • RESPONSE-ERROR – the primary error structure
    • RESPONSE-ERROR2, RESPONSE-ERROR3, etc. – additional distinct error structures
  • Identical response schemas across multiple status codes are consolidated into a single COBOL structure, with comments indicating all associated status codes

  • All response structures (except RESPONSE-OK) REDEFINE RESPONSE-OK, which now includes a filler to ensure its total size is at least as large as any other response structure

This results in cleaner, more maintainable COBOL clients while preserving full response coverage.


🐞 Bug Fixes

  • Fixed an issue where screen nodes were not connecting to output nodes in certain edge cases