[Progress Communities] [Progress OpenEdge ABL] Forum Post: Swagger schema - anyone done this? non progress question

  • Thread starter Thread starter goo
  • Start date Start date
Status
Not open for further replies.
G

goo

Guest
In swagger I can add a schema by doing this: responses: 200: description: "successful operation" schema: type: array items: $ref: '#/definitions/Organization' That will give me the following: [ { "ClientNo": 0, "ClientID": "string", "Name": "string", "Address": "string", "PostOffice": "string", "Logo": "string", "InvoiceNo": 0, : : But if I want to add {"Organizations": in front of it, how can I do that? {"Organizations":[ { "ClientNo": 0, "ClientID": "string", "Name": "string", "Address": "string", "PostOffice": "string", "Logo": "string", "InvoiceNo": 0, : :

Continue reading...
 
Status
Not open for further replies.
Back
Top