Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Apiary not formatting json response examples #475

Open
satish-sahu00 opened this issue Apr 7, 2022 · 0 comments
Open

Apiary not formatting json response examples #475

satish-sahu00 opened this issue Apr 7, 2022 · 0 comments

Comments

@satish-sahu00
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@satish-sahu00 and others