Hi All,
This is a question from the perspective of the consumer of TMF API that has been extended.
There was a similar discussion in 8th response in this thread but I could not understand what was agreed on -
Swagger and @schemaLocation | Open APIs (tmforum.org)Let's say for example, I'm extending the product like this. This is fine as the developer of the API but for a consumer how will they get a view of these custom objects or extensions? Can I update the original swagger and include the custom type/ derived type as well as the recommended approach like the json below?
{
"product": {
"@baseType": "product",
"@type": "ProductBroadband",
"@schemaLocation": "https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF648-Quote-v4.0.0.swagger.json#/definitions/ProductBroadband",
"description": "logical",
"name": "Broadband Access",
"bandwith": 100,
"profile": "primary"
}
}
------------------------------
Ganapathiram Natarajan
DXC Technology
------------------------------