Open APIs

 View Only
  • 1.  TMF655 - Error Reason data type question

    TM Forum Member
    Posted Feb 03, 2021 09:27
    Hi, in the TMF655 OpenAPI/Swagger document published on Github, there is a definition that is not clear.

    Lines 1633 and 1634 define the attribute "definitions/Error/properties/reason"; however it states that the type is "integer", but the description suggests "Text.." ("Text that explains the reason for error.")

    My question: should the type be "string" as suggested by the description?

    Conflicting type and description for Reason attribute.


    Spec:
    https://github.com/tmforum-apis/TMF655_ChangeManagement/blob/master/Change_Management.admin.swagger.json

    ------------------------------
    Bill Teluk
    Telstra Corporation
    ------------------------------


  • 2.  RE: TMF655 - Error Reason data type question

    TM Forum Member
    Posted Feb 03, 2021 13:03
    Hi Bill
    In all the recently published API swagger files, Error.reason is typed with string. The Swagger for change management is very old and presumably is carrying a mistake in the Error data type.
    I don't know when the swagger for TMF655 will be republished - if this is critical I can open a JIRA issue for this problem.
    Hope it helps

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 3.  RE: TMF655 - Error Reason data type question

    TM Forum Member
    Posted Feb 03, 2021 17:10
    Thanks Jonathon!

    No - it's not critical.  I posted just as information in case it had not been noticed.

    Cheers!

    Regards, Bill.

    ------------------------------
    Bill Teluk
    Telstra Corporation
    ------------------------------