IBM Support

PH11252: REST MODEL TO SWAGGER XFROM, RSAD 9.7 IS NOT ENFORCING A REQUIRED FIELD FOR DESCON THE RESPONSE STATUS CODE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Using the REST Model to Swagger Transformation, but it doesn't
    generate a field that is required by the Swagger/OpenAPI.
    Specifically, response parameters on GET operations MUST include
    a description field. If the model doesn't have anything in the
    documentation field of the response, the transformation can't
    create something. However, since this is a required field, it
    should at least complain.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * REST MODEL TO SWAGGER XFROM, RSAD 9.7 IS NOT ENFORCING A     *
    * REQUIRED FIELD FOR DESCON THE RESPONSE STATUS CODE           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  •  Swagger Transformation is generating empty description for
    response Objects.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH11252

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-18

  • Closed date

    2019-07-10

  • Last modified date

    2019-07-10

  • 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

    SW ARCHITECT WI

  • Fixed component ID

    5724I7001

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"970","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JCV","label":"Rational Software Architect for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"970","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
10 July 2019