IBM Support

PH00370: AFTER REST SERVICE MODEL-TO-SWAGGER TRANSFORMATION, ATTRIBUTE'S "DOCUMENTATION" IS FOUND WITHIN "ITEMS" AND NOT "TYPE"

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

  • In IBM Rational Software Architect Designer (RSAD), after
    performing a REST Service Model-to-Swagger transformation on a
    model that contains an attribute with text in the
    "Documentation" field and whose "Multiplicity" value is "1..*",
    the "Documentation" in the JSON file is written within the
    attribute's "items".
    
    The attribute's "Documentation" contents should instead be at
    the same level as "type".
    

Local fix

  • Modify the code manually, so that "Documentation" contents are
    located at the same level as "type".
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * -                                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When user creates a REST Service Model with attribute        *
    * containing both documentation and Multiplicity(1..*), REST   *
    * to Swagger transformation will generate the swagger file by  *
    * writing the documentation to items instead of to the         *
    * attribute ( Array) itself.                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • "When user creates a REST Service Model with attribute
    containing both documentation and Multiplicity(1..*), REST to
    Swagger transformation will generate the swagger file by writing
    the documentation to items instead of to the attribute ( Array)
    itself.
    
    Now, REST to Swagger transformation will generate the swagger
    file by writing the documentation to the attribute ( Array)
    itself."
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH00370

  • Reported component name

    SW ARCHITECT WI

  • Reported component ID

    5724I7001

  • Reported release

    961

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-07-11

  • Closed date

    2018-11-27

  • Last modified date

    2018-11-27

  • 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":"961","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":"961","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
27 November 2018