api-blueprint icon indicating copy to clipboard operation
api-blueprint copied to clipboard

Apiary not formatting json response examples

Open satish-sahu00 opened this issue 3 years ago • 0 comments

I have created an Apiary project using Swagger and not API Blueprint, following is my response for 200 and it has an example json

responses: "200": description: Successful Operation content: application/json: schema: $ref: '#/components/schemas/StandardResponseCollectionTransferResponseVO' examples: Successful Operation: description: Successful Operation value: success: true data: - amount: 2000 approvalRequirement: 12345 approvedBy: "" approvedDate: "" bankTraceNumber: 20220280001 creditAccount: "2800208988" creditAccountName: Auto Loaded Account debitAccount: "2800208937" debitAccountName: Auto Loaded Account entryDate: 2022-01-28T15:22:12.597z entryMethod: "null" memo: "" possibleActions: - View settledDate: "" status: Successful statusCode: 18 transferId: 400147 result: info: "" guid: "" systemMessage: ""

and below is the response in Apiary console

Screenshot 2022-04-07 at 9 56 43 AM

Why is it not formatting it and is there a way to do it?

satish-sahu00 avatar Apr 07 '22 04:04 satish-sahu00