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.
------------------------------
Original Message:
Sent: Feb 02, 2021 17:52
From: Bill Teluk
Subject: TMF655 - Error Reason data type question
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?
Spec:
https://github.com/tmforum-apis/TMF655_ChangeManagement/blob/master/Change_Management.admin.swagger.json
------------------------------
Bill Teluk
Telstra Corporation
------------------------------