IBM Support

PH55441: VALIDATION FAILS WHEN AN ENUMERATION IS SPECIFIED FOR A QUERY PARAMETER FOR AN OPENAPI3.0 MODEL

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 the customer tries to validate an OpenAPI3.0 model created
    in RSAD4WS 9.7.1, and an enumeration is applied to a query
    parameter, it gives an error:
    
    The Type of OpenAPI Parameter <<Param, openAPIParam>>
    <Parameter> type : choice [0..1] MUST be one of "string",
    "number", "integer", "boolean" or "file" for non-body Parameter.
    
    However, it was found that the model does generate valid yaml or
    json.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * ENUMERATION VALIDATION FAILS WHEN SPECIFIED FOR A QUERY      *
    * PARAMETER FOR AN OPENAPI3.0 MODEL                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Now enumeration types are also validated.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH55441

  • 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

    2023-06-27

  • 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