Greetings
I’m trying to add an array of objects as a sample in the operation response to be displayed in the API Portal, but every time I add the array of object in the sample, it does not displayed in the portal. However once removing []
of the array and republish the API to the portal, the response displayed with no issue.
sample of response I’m trying to display:
[
{
"fullName":"some text",
"displayName":"some text",
"categoryName":"some text"
},
{
"fullName":"some text",
"displayName":"some text",
"categoryName":"some text"
}
]
Once removing the []
from the response, it displayed successfully.
Any suggestions?
Thanks in advance