Hi Ravi
In R19 we updated the Attachment resource, which represents the content of a Document, so that it can hold a byte stream. Specifically:
Attachment.content looks like this in json schemaL
"content": {
"type": "string",
"format": "base64",
"description": "The actual contents of the attachment object, if embedded, encoded as base64"
},
Since we now have a common schema for all APIs, when the Document API will be refreshed, it will use this same definition for the Attachment.
However, it does seem that we may have an issue with our tooling that generates the swagger, since the format string appears to have been lost. I will raise this problem with our tooling people, but in the meantime I suggest you fix your swagger so that Attachment includes the snippet above.
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.
------------------------------