IBM Support

PH51632: WHEN SETTING AN ENUMERATION FOR A QUERY PARAMETER IN A SWAGGERPARM I GET A VALIDATION ERROR

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

  • When specifying an enumeration for a SwaggerParam Query
    Parameter. It throws a validation error. The swagger generates
    properly.  Using version 9.7.1 with fixes applied.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * WHEN SETTING AN ENUMERATION FOR A QUERY PARAMETER IN A       *
    * SWAGGER PARM VALIDATION ERROR OCCURS                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Now swagger model validation supports enumeration type query
    parameters too.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH51632

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    971

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-12-22

  • Closed date

    2024-05-02

  • Last modified date

    2024-05-02

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSYKBQ","label":"Rational Software Architect Designer for = WebSphere Software"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"971","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
02 May 2024