IBM Support

PH64565: The z/OS Connect build toolkit V1.15 (and later) does not produce response copybooks properly.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible in next release.

Error description

  • When running version 1.15 of the z/OS Connect build toolkit,
    when "additionalProperties":true is specified in the json
    schema, the response copybooks produced do not have any of the
    fields from the swagger. This problem is not present in V1.11.
    
    If the additional properties are referenced by a $ref statement,
    the copybooks are correctly generated.
    

Local fix

  • 1. If possible, remove "additionalProperties":true from the
       relevant HTTP status code schema.
    2. If the additionalProperties tag is required, define a new
       variable under definitions, move all the properties and
       "additonalProperties":true inside that definition and refer
       to this new definition using $ref from the schema of the
       relevant HTTP status code response.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the z/OS Connect build toolkit  *
    *                 with additional properties (OpenAPI 2).      *
    ****************************************************************
    * PROBLEM DESCRIPTION: The z/OS Connect build toolkit V1.15    *
    *                      (and later) does not produce response   *
    *                      copybooks properly.                     *
    ****************************************************************
    When "additionalProperties":true was specified, the z/OS Connect
    build toolkit did not correctly map the specified fields into
    the generated copybook, unless there was a $ref statement
    pointing a schema containing the additional properties.
    

Problem conclusion

Temporary fix

Comments

  • The z/OS Connect build toolkit has been changed to correctly
    generate response copybooks when additionalProperties":true is
    specified, without the need for a $ref statement pointing a
    schema containing the additional properties.
    
    The build toolkit version has been updated to V1.20.
    
    The fix for this APAR is expected to be delivered by the PTFs
    for z/OS Connect V3.0.93.0 (PH66161).
    

APAR Information

  • APAR number

    PH64565

  • Reported component name

    Z/OS CONNECT EE

  • Reported component ID

    5655CE300

  • Reported release

    000

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-12-13

  • Closed date

    2025-04-22

  • Last modified date

    2025-04-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    Z/OS CONNECT EE

  • Fixed component ID

    5655CE300

Applicable component levels

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSVVFY","label":"z\/OS Connect Enterprise Edition"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"000"}]

Document Information

Modified date:
22 April 2025